Skip to content

Commit e5cbd33

Browse files
committed
Install Mesa on Windows CI
1 parent a084fcf commit e5cbd33

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/test-win-mac.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,16 @@ jobs:
2929
with:
3030
version: ${{ matrix.version }}
3131
arch: ${{ matrix.arch }}
32+
# Mesa install copied from https://github.com/microsoft/OpticSim.jl
33+
- name: Install Mesa (Windows only)
34+
if: runner.os == 'Windows'
35+
shell: cmd
36+
working-directory: ${{ steps.setup-julia.outputs.julia-bindir }}
37+
run: |
38+
curl.exe -L --output mesa.7z --url https://github.com/pal1000/mesa-dist-win/releases/download/21.3.5/mesa3d-21.3.5-release-msvc.7z
39+
"C:\Program Files\7-Zip\7z.exe" x mesa.7z
40+
mklink opengl32.dll "x64\opengl32.dll"
41+
mklink libglapi.dll "x64\libglapi.dll"
3242
- name: Cache artifacts
3343
uses: actions/cache@v1
3444
env:

src/runexamples.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ function runexamples()
55
if Sys.iswindows() && get(ENV, "CI", "false") == "true"
66
push!(excluded, "gltriangle.jl") # CI OpenGL is too old
77
push!(excluded, "makie.jl") # CI OpenGL is too old
8+
push!(excluded, "makie-plot.jl") # CI OpenGL is too old
89
end
910

1011
renderstring = "Frame rendered"

0 commit comments

Comments
 (0)