File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff 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'
You can’t perform that action at this time.
0 commit comments