From 783b416e651df6d9d1c395989507cfc5b516003c Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Fri, 21 Oct 2022 21:36:24 +0800 Subject: [PATCH] ci/macos: Building both dri and xlib version of glx Signed-off-by: Yonggang Luo Reviewed-by: Adam Jackson Part-of: --- .github/workflows/macos.yml | 9 ++++++--- 1 file 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