Skip to content

Update ci.yml to test latest stable release #49

Update ci.yml to test latest stable release

Update ci.yml to test latest stable release #49

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1' # Current stable version
os:
- ubuntu-latest
- windows-latest
- macOS-latest
arch:
- x64
include:
- os: macOS-14
arch: aarch64
version: '1'
- os: ubuntu-latest
arch: x86
version: '1'
- os: ubuntu-latest
arch: x64
version: '1.0'
- os: ubuntu-latest
arch: x64
version: 'nightly'
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- 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@v1
- uses: julia-actions/julia-runtest@v1