Skip to content

Commit bcaf75f

Browse files
committed
Try windows mesa 7
1 parent 96b1eab commit bcaf75f

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/test.yml

+9-6
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,19 @@ jobs:
4545

4646
- name: Install Mesa windows
4747
if: matrix.os == 'windows-2022'
48-
shell: powershell
4948
run: |
50-
cd node_modules/deps-opengl-raub/bin-windows
51-
curl.exe -L --output mesa.7z --url https://github.com/pal1000/mesa-dist-win/releases/download/25.0.0/mesa3d-25.0.0-release-msvc.7z
52-
C:\'Program Files'\7-Zip\7z.exe x mesa.7z
53-
echo "GALLIUM_DRIVER=llvmpipe"| Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
49+
NODEPATH="$(where node)"
50+
NODEPATH="${NODEPATH//\\//}"
51+
NODEDIR=$(dirname "$NODEPATH")
52+
cd "$NODEDIR"
53+
curl -L --output mesa.7z --url https://github.com/pal1000/mesa-dist-win/releases/download/25.0.0/mesa3d-25.0.0-release-msvc.7z
54+
7z x mesa.7z
5455
5556
- name: Test - Windows
5657
if: matrix.os == 'windows-2022'
57-
run: npm run test-ci
58+
run: |
59+
GALLIUM_DRIVER=llvmpipe
60+
npm run test-ci
5861
5962
# - name: Test - MacOS
6063
# if: matrix.os == 'macos-14'

0 commit comments

Comments
 (0)