macos: Run the testsuite
This commit is contained in:
committed by
Matthias Clasen
parent
7ae549e253
commit
3fd6da116f
@@ -217,6 +217,7 @@ macos:
|
||||
-Dlibjpeg-turbo:simd=disabled
|
||||
_build
|
||||
- meson compile -C _build
|
||||
- .gitlab-ci/run-tests.sh _build macos
|
||||
artifacts:
|
||||
when: always
|
||||
paths:
|
||||
|
||||
@@ -90,6 +90,17 @@ case "${backend}" in
|
||||
kill ${compositor}
|
||||
;;
|
||||
|
||||
macos)
|
||||
meson test -C ${builddir} \
|
||||
--timeout-multiplier "${MESON_TEST_TIMEOUT_MULTIPLIER}" \
|
||||
--print-errorlogs \
|
||||
--setup=${backend} \
|
||||
--suite=gtk \
|
||||
--no-suite=gsk-compare-opengl
|
||||
exit_code=$?
|
||||
;;
|
||||
|
||||
|
||||
broadway)
|
||||
export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@ setups = [
|
||||
'env': ['GDK_DEBUG=gl-gles,default-settings'], },
|
||||
{ 'backend': 'win32', 'if': os_win32 },
|
||||
{ 'backend': 'broadway', 'if': broadway_enabled, },
|
||||
{ 'backend': 'macos', 'if': macos_enabled, },
|
||||
]
|
||||
|
||||
foreach setup : setups
|
||||
|
||||
Reference in New Issue
Block a user