Skip to content

Commit 307a7e1

Browse files
committed
Try windows mesa 3
1 parent db4b253 commit 307a7e1

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/test.yml

+15-1
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,23 @@ jobs:
4343
build-type: 'release-msvc'
4444
deployment-choice: '1'
4545

46+
- name: Install Mesa windows
47+
if: matrix.os == 'windows-2022'
48+
shell: powershell
49+
run: |
50+
mkdir __mesa
51+
cd __mesa
52+
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
53+
C:\'Program Files'\7-Zip\7z.exe x mesa.7z
54+
echo "GALLIUM_DRIVER=llvmpipe"| Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
55+
4656
- name: Test - Windows
4757
if: matrix.os == 'windows-2022'
48-
run: npm run test-ci
58+
run: |
59+
cp __mesa/x64/opengl32.dll node_modules/glfw-raub/bin-windows
60+
cp __mesa/x64/libglapi.dll node_modules/glfw-raub/bin-windows
61+
cp __mesa/x64/libgallium_wgl.dll node_modules/glfw-raub/bin-windows
62+
npm run test-ci
4963
5064
# - name: Test - MacOS
5165
# if: matrix.os == 'macos-14'

0 commit comments

Comments
 (0)