Skip to content

Commit

Permalink
add if statement for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
enigne committed Feb 24, 2024
1 parent ff719d5 commit b7e001e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ jobs:
- '1.9' # the minimum version
- '1.10' # the latest version
os:
- ubuntu-20.04
- ubuntu-lastest
- macOS-latest
arch:
- x64

steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
Expand All @@ -44,11 +43,16 @@ jobs:
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/cache@v1
- run: sudo apt-get update && sudo apt-get install -y xorg-dev mesa-utils xvfb libgl1 freeglut3-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev xsettingsd x11-xserver-utils
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- if: matrix.os == ubuntu-latest
run: sudo apt-get update && sudo apt-get install -y xorg-dev mesa-utils xvfb libgl1 freeglut3-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev xsettingsd x11-xserver-utils
uses: julia-actions/julia-runtest@v1
with:
prefix: xvfb-run -s '-screen 0 1024x768x24'
- if: matrix.os == macOS-latest
uses: julia-actions/julia-runtest@v1
with:
prefix: Xvfb -s '-screen 0 1024x768x24'
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
with:
Expand Down

0 comments on commit b7e001e

Please sign in to comment.