summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorYonggang Luo <luoyonggang@gmail.com>2022-08-05 15:00:27 +0800
committerMarge Bot <emma+marge@anholt.net>2022-08-12 19:04:35 +0000
commit0d0d245e7e1fd870aa5c16f9a2fb50c8f9c0de6d (patch)
treea2e91ae86417e476557834fb90e456946d7e06b5 /.github
parente04d4f881e167f9f6594cb79477bd3e9a11d81ce (diff)
downloadmesa-0d0d245e7e1fd870aa5c16f9a2fb50c8f9c0de6d.tar.gz
ci: Enable llvmpipe on MacOS
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17879>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a172bea3e31..e0720f20ea8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -32,7 +32,12 @@ jobs:
- name: Install Mako
run: pip3 install --user mako
- name: Configure
- run: meson . build -Dbuild-tests=true -Dosmesa=true
+ run: |
+ cat > native_config <<EOL
+ [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
- name: Build
run: meson compile -C build
- name: Test