From 54cf684f5fe0e85c3a34b260e240716550c91f72 Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Mon, 25 Jan 2021 16:01:56 +0100 Subject: [PATCH] ci: use the recommended meson syntax See: docs/HACKING.md --- .github/workflows/build_test.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_test.sh b/.github/workflows/build_test.sh index 6bed6e29b9a..9af1f923d5b 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 -- 2.47.3