Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build and Test Fixes #182

Merged
merged 3 commits into from
Dec 16, 2024
Merged

Build and Test Fixes #182

merged 3 commits into from
Dec 16, 2024

Conversation

Bastian-Krause
Copy link
Member

  • github: tests: use non-ambiguous "meson setup build"
  • meson: decrease warning_level to 2
  • github/README: add libcairo2-dev to test dependencies

This should also fix the CI builds/tests.

Fixes warnings such as:

  WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.

Signed-off-by: Bastian Krause <[email protected]>
warning_level=3 means for gcc/clang "-Wall -Wextra -Wpedantic" [1].
-Wpedantic is not supported for compiling GLib-based code [2].

So set warning_level=2 ("-Wall -Wextra").

[1] https://mesonbuild.com/Builtin-options.html#details-for-warning_level
[2] https://gitlab.gnome.org/GNOME/glib/-/issues/3127

Signed-off-by: Bastian Krause <[email protected]>
pygobject requires cairo by default [1]. Although there are some
documented environment variables to skip it, let's stick to the default
behavior and just add libcairo2-dev to the test dependencies.

[1] https://gitlab.gnome.org/GNOME/pygobject/-/issues/395

Signed-off-by: Bastian Krause <[email protected]>
@Bastian-Krause Bastian-Krause merged commit 8d94615 into rauc:master Dec 16, 2024
9 checks passed
@Bastian-Krause Bastian-Krause deleted the bst/fixes branch December 16, 2024 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants