diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2021-05-20 21:02:07 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2021-05-22 13:29:59 +0200 |
commit | 120edbcdd18c383955beaa2df547863d59b3e3c5 (patch) | |
tree | 2597fa64c4e18381f9b6736824f610e6f9ff0504 | |
parent | 5d4cc95dad9c3faa0172fb9b0cd9f65e7b542ac8 (diff) | |
download | libmediaart-120edbcdd18c383955beaa2df547863d59b3e3c5.tar.gz |
ci: Use idiomatic Meson for the build instructions
In other words: meson setup, meson compile, and meson test.
-rw-r--r-- | .gitlab-ci.yml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 530b2ce..8c1b947 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,15 +15,14 @@ stages: stage: test script: - - mkdir build; cd build - - meson .. - - ninja + - meson setup _build . + - meson compile -C _build - | # Remove the many "CI_" variables from the environment. Meson dumps the # whole environment for every failed test, and that gives a whole # screenful of junk each time unless we strip these. unset $(env|grep -o '^CI_[^=]*') - env meson test --print-errorlogs ${MESON_TEST_EXTRA_ARGS} + env meson test -C _build --print-errorlogs ${MESON_TEST_EXTRA_ARGS} after_script: - | |