diff --git a/.github/workflows/reference_tests.yml b/.github/workflows/reference_tests.yml index 3903929641f..ea7e88f1f3b 100644 --- a/.github/workflows/reference_tests.yml +++ b/.github/workflows/reference_tests.yml @@ -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 @@ -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: | @@ -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: