Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a MacOS test runner to GLMakie #4788

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/reference_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ jobs:
- ubuntu-20.04
arch:
- x64
include:
- os: macos-latest
arch: arm64
version: '1'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -88,6 +92,7 @@ jobs:
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v2
- 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
if: ${{ runner.os != 'macOS' }}
- name: Install Julia dependencies
shell: julia --project=monorepo {0}
run: |
Expand All @@ -102,6 +107,12 @@ jobs:
run: >
DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --color=yes --project=monorepo -e 'using Pkg; Pkg.test("GLMakie", coverage=true)'
&& echo "TESTS_SUCCESSFUL=true" >> $GITHUB_ENV
if: ${{ runner.os != 'macOS' }}
- name: Run the tests (Mac)
id: referencetests-mac
continue-on-error: true
run: DISPLAY=:0 julia --color=yes --project=monorepo -e 'using Pkg; Pkg.test("GLMakie", coverage=true)' && echo "TESTS_SUCCESSFUL=true" >> $GITHUB_ENV
if: ${{ runner.os == 'macOS' }}
- name: Upload test Artifacts
uses: actions/upload-artifact@v4
with:
Expand Down
Loading