From 9a3794cd028fad7a656ca8f0403073fe1583a68e Mon Sep 17 00:00:00 2001 From: pal1000 Date: Sun, 21 Aug 2022 18:12:54 +0300 Subject: [PATCH 1/3] ci: Fix syntax error in build setup command Fixes: fa803c7e --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 46277af..d455a7c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,7 +35,7 @@ jobs: # the code assumes msvc style printf atm export CFLAGS=-D__USE_MINGW_ANSI_STDIO=0 - meson -Dtests=false _build + meson -Dtests=disabled _build meson compile -C _build debian-meson: -- 2.41.0 From b6ffebc3aa67e02a58f4ca67cfef2db205e1c4cc Mon Sep 17 00:00:00 2001 From: pal1000 Date: Sun, 21 Aug 2022 18:36:05 +0300 Subject: [PATCH 2/3] tests: Make sure chmod is used only when possible Fixes: fa803c7e --- tests/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/meson.build b/tests/meson.build index b331310..ebf41f6 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -19,5 +19,5 @@ tests = [ # yuck foreach test : tests test_file = configure_file(input: test + '.sh', output: test, copy: true) - run_command('chmod', '755', test_file, check : true) + run_command(find_program('chmod', required : false, disabler : true), '755', test_file, check : true) endforeach -- 2.41.0 From b8593a3af58d5bbed0e67793e40d31e91735866e Mon Sep 17 00:00:00 2001 From: pal1000 Date: Sat, 27 Aug 2022 11:26:26 +0300 Subject: [PATCH 3/3] tests/ci/Windows: Switch feature to auto now that's seamlessly disabled when it's unusable --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d455a7c..c848e42 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,7 +35,7 @@ jobs: # the code assumes msvc style printf atm export CFLAGS=-D__USE_MINGW_ANSI_STDIO=0 - meson -Dtests=disabled _build + meson _build meson compile -C _build debian-meson: -- 2.41.0