summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorYonggang Luo <luoyonggang@gmail.com>2022-10-21 21:36:24 +0800
committerMarge Bot <emma+marge@anholt.net>2022-10-22 01:34:53 +0000
commit783b416e651df6d9d1c395989507cfc5b516003c (patch)
tree3e5f67f66083472575f4d29630a050e03abbf63d /.github
parent6c9f8d866202819780a4fa5398e0898b123a0abc (diff)
downloadmesa-783b416e651df6d9d1c395989507cfc5b516003c.tar.gz
ci/macos: Building both dri and xlib version of glx
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19221>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/macos.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 4d4656156eb..db6557b0cef 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -1,11 +1,14 @@
-name: macOS CI
+name: macOS-CI
on: push
permissions:
contents: read
jobs:
- CI:
+ macOS-CI:
+ strategy:
+ matrix:
+ glx_option: ['dri', 'xlib']
runs-on: macos-latest
env:
GALLIUM_DUMP_CPU: true
@@ -37,7 +40,7 @@ jobs:
[binaries]
llvm-config = '/usr/local/opt/llvm/bin/llvm-config'
EOL
- meson . build --native-file=native_config -Dbuild-tests=true -Dosmesa=true -Dgallium-drivers=swrast
+ meson . build --native-file=native_config -Dbuild-tests=true -Dosmesa=true -Dgallium-drivers=swrast -Dglx=${{ matrix.glx_option }}
- name: Build
run: meson compile -C build
- name: Test