Skip to content

Commit

Permalink
Install Mesa on Windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
barche committed Feb 6, 2022
1 parent a084fcf commit e5cbd33
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/test-win-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ jobs:
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
# Mesa install copied from https://github.com/microsoft/OpticSim.jl
- name: Install Mesa (Windows only)
if: runner.os == 'Windows'
shell: cmd
working-directory: ${{ steps.setup-julia.outputs.julia-bindir }}
run: |
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
"C:\Program Files\7-Zip\7z.exe" x mesa.7z
mklink opengl32.dll "x64\opengl32.dll"
mklink libglapi.dll "x64\libglapi.dll"
- name: Cache artifacts
uses: actions/cache@v1
env:
Expand Down
1 change: 1 addition & 0 deletions src/runexamples.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ function runexamples()
if Sys.iswindows() && get(ENV, "CI", "false") == "true"
push!(excluded, "gltriangle.jl") # CI OpenGL is too old
push!(excluded, "makie.jl") # CI OpenGL is too old
push!(excluded, "makie-plot.jl") # CI OpenGL is too old
end

renderstring = "Frame rendered"
Expand Down

0 comments on commit e5cbd33

Please sign in to comment.