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>
This commit is contained in:
Yonggang Luo
2022-10-21 21:36:24 +08:00
committed by Marge Bot
parent 6c9f8d8662
commit 783b416e65

View File

@@ -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