gitlab: work around the inability to build targets for MacOS
Unfortunately a previous fix to ensure .ninja-goals was set for the TCG tests broken the ability to run check-functional-FOO. As we have now reverted we need a solution for the MacOS gitlab run. The simplest is to add an explicit make invocation to build the signed binaries before we run the tests. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> Tested-by: Cornelia Huck <cohuck@redhat.com> # running tests on an s390x Message-ID: <20260601143129.144786-3-alex.bennee@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Alex Bennée committed
Jun 1, 2026 at 15:31 UTC
5d5dbc024bfc97b6d362f1f6eb1d40d4d1e533aa
1 file changed
+3
.gitlab-ci.d/macos.yml
+3
@@ -29,6 +29,7 @@
29
- cd build
30
- ../configure --enable-werror $CONFIGURE_ARGS || { cat config.log meson-logs/meson-log.txt; exit 1; }
31
- $MAKE -j$(sysctl -n hw.ncpu)
32
+ - for TARGET in $TEST_BINARIES ; do $MAKE $TARGET ; done
33
- for TARGET in $TEST_TARGETS ; do $MAKE $TARGET ; done
34
35
aarch64-macos-15-build:
@@ -44,6 +45,7 @@ aarch64-macos-15-build:
45
--cross-prefix-i386=i686-elf-
46
--cross-prefix-x86_64=x86_64-elf-
47
--disable-plugins
48
+ TEST_BINARIES: qemu-system-aarch64 qemu-system-i386 qemu-system-x86_64
49
TEST_TARGETS: check-unit run-tcg-tests-aarch64-softmmu run-tcg-tests-i386-softmmu run-tcg-tests-x86_64-softmmu
50
51
aarch64-macos-26-build:
@@ -60,4 +62,5 @@ aarch64-macos-26-build:
62
--cross-prefix-i386=i686-elf-
63
--cross-prefix-x86_64=x86_64-elf-
64
--disable-plugins
65
+ TEST_BINARIES: qemu-system-aarch64 qemu-system-i386 qemu-system-x86_64
66
TEST_TARGETS: check-unit run-tcg-tests-aarch64-softmmu run-tcg-tests-i386-softmmu run-tcg-tests-x86_64-softmmu