Skip to content

CI: use julia-actions/cache; don't force arch = x64; limit concurrency for PR CI #332

CI: use julia-actions/cache; don't force arch = x64; limit concurrency for PR CI

CI: use julia-actions/cache; don't force arch = x64; limit concurrency for PR CI #332

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
tags: '*'
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1.6'
- '1'
# - 'nightly'
os:
- ubuntu-latest
- macos-latest
- windows-latest
arch:
- ''
exclude:
- github-runner: macos-latest # Apple Silicon

Check failure on line 26 in .github/workflows/CI.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/CI.yml (Line: 26, Col: 13): Matrix exclude key 'github-runner' does not match any key within the matrix .github/workflows/CI.yml (Line: 27, Col: 13): Matrix exclude key 'julia-version' does not match any key within the matrix
julia-version: '1.6'
julia-arch: ''
include:
- github-runner: macos-latest # Apple Silicon
julia-version: '1.6'
# Install an x86_64 build of Julia, and run it under Rosetta 2 emulation
julia-arch: 'x64'
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ (matrix.julia-arch == '') && runner.arch || matrix.julia-arch }}
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}