Skip to content

Merge pull request #316 from JuliaGraphics/vs/project #26

Merge pull request #316 from JuliaGraphics/vs/project

Merge pull request #316 from JuliaGraphics/vs/project #26

Workflow file for this run

name: CI
on:
push:
branches: "master"
tags: ["*"]
pull_request:
release:
jobs:
test:
name: Julia ${{ matrix.julia-version }} - ${{ matrix.os }} - ${{ matrix.julia-arch }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
julia-version:
- 'lts'
- '1'
os:
- ubuntu-latest
- windows-latest
julia-arch:
- x64
include:
- os: ubuntu-latest
prefix: xvfb-run
- os: macOS-latest
julia-arch: aarch64
julia-version: '1'
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
- name: Cache artifacts
uses: actions/cache@v4
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@v1
with:
prefix: ${{ matrix.prefix }}
- uses: julia-actions/[email protected]
continue-on-error: true
- uses: julia-actions/[email protected]
continue-on-error: true