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:
9
.github/workflows/macos.yml
vendored
9
.github/workflows/macos.yml
vendored
@@ -1,11 +1,14 @@
|
|||||||
name: macOS CI
|
name: macOS-CI
|
||||||
on: push
|
on: push
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
CI:
|
macOS-CI:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
glx_option: ['dri', 'xlib']
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
env:
|
env:
|
||||||
GALLIUM_DUMP_CPU: true
|
GALLIUM_DUMP_CPU: true
|
||||||
@@ -37,7 +40,7 @@ jobs:
|
|||||||
[binaries]
|
[binaries]
|
||||||
llvm-config = '/usr/local/opt/llvm/bin/llvm-config'
|
llvm-config = '/usr/local/opt/llvm/bin/llvm-config'
|
||||||
EOL
|
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
|
- name: Build
|
||||||
run: meson compile -C build
|
run: meson compile -C build
|
||||||
- name: Test
|
- name: Test
|
||||||
|
|||||||
Reference in New Issue
Block a user