Skip to content

Update ci.yml for Mac aarch64 and use Julia-actions/cache to improve caching #435

Update ci.yml for Mac aarch64 and use Julia-actions/cache to improve caching

Update ci.yml for Mac aarch64 and use Julia-actions/cache to improve caching #435

Workflow file for this run

name: CI
on:
push:
branches:
- main
- staging
- trying
tags: '*'
pull_request:
concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: always.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
version:
- '1'
os:
- macOS-13 # with intel processors
- ubuntu-latest
arch:
- x64
include:
- os: macOS-latest
arch: aarch64
version: 1
- os: ubuntu-latest
arch: x64
version: 'lts'
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- run: julia -e 'using InteractiveUtils; versioninfo(verbose=true)'
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest