summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2021-01-25 16:01:56 +0100
committerFrantisek Sumsal <frantisek@sumsal.cz>2021-01-25 16:01:56 +0100
commit54cf684f5fe0e85c3a34b260e240716550c91f72 (patch)
treed25303036f370ab5be7cdae6f1db1b1a7b5526ef /.github
parentci: drop an unnecessary sudo (diff)
downloadsystemd-54cf684f5fe0e85c3a34b260e240716550c91f72.tar.xz
systemd-54cf684f5fe0e85c3a34b260e240716550c91f72.zip
ci: use the recommended meson syntax
See: docs/HACKING.md
Diffstat (limited to '.github')
-rwxr-xr-x.github/workflows/build_test.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/build_test.sh b/.github/workflows/build_test.sh
index 6bed6e29b9..9af1f923d5 100755
--- a/.github/workflows/build_test.sh
+++ b/.github/workflows/build_test.sh
@@ -99,6 +99,8 @@ pip3 install --user -U meson ninja
export PATH="$HOME/.local/bin:$PATH"
$CC --version
+meson --version
+ninja --version
for args in "${ARGS[@]}"; do
SECONDS=0
@@ -108,9 +110,8 @@ for args in "${ARGS[@]}"; do
fatal "meson failed with $args"
fi
- ninja --version
- if ! ninja -C build; then
- fatal "ninja failed with $args"
+ if ! meson compile -C build; then
+ fatal "'meson compile' failed with $args"
fi
git clean -dxf