Module: Mesa Branch: main Commit: 0d0d245e7e1fd870aa5c16f9a2fb50c8f9c0de6d URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0d0d245e7e1fd870aa5c16f9a2fb50c8f9c0de6d
Author: Yonggang Luo <[email protected]> Date: Fri Aug 5 15:00:27 2022 +0800 ci: Enable llvmpipe on MacOS Signed-off-by: Yonggang Luo <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17879> --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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
