File tree 1 file changed +9
-6
lines changed
1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -45,16 +45,19 @@ jobs:
45
45
46
46
- name : Install Mesa windows
47
47
if : matrix.os == 'windows-2022'
48
- shell : powershell
49
48
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
54
55
55
56
- name : Test - Windows
56
57
if : matrix.os == 'windows-2022'
57
- run : npm run test-ci
58
+ run : |
59
+ GALLIUM_DRIVER=llvmpipe
60
+ npm run test-ci
58
61
59
62
# - name: Test - MacOS
60
63
# if: matrix.os == 'macos-14'
You can’t perform that action at this time.
0 commit comments