Skip to content

Commit

Permalink
ci.yml: Upgrade Actions, tweak Julia version matrix, add cache
Browse files Browse the repository at this point in the history
ARM on macOS is disabled until the next engine update (currently getting infamous "illegal instruction: 4" on CI, but not locally)
  • Loading branch information
PMeira committed Oct 30, 2024
1 parent 637fbcd commit 0e27882
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: CI

on: [push, pull_request]

permissions:
actions: write
contents: read

jobs:
test:
name: Test
Expand All @@ -11,32 +15,33 @@ jobs:
strategy:
fail-fast: false
matrix:
julia-version: ['1.6', '1'] # 'nightly']
julia-arch: [x64, x86]
os: [ubuntu-latest, windows-latest, macOS-latest]
exclude:
- os: macOS-latest
julia-arch: x86
julia-version: ['1.6', '1.10', '1'] # 'nightly']
os: [ubuntu-latest, windows-latest, macos-13] #, macOS-latest
# exclude:
# - os: macOS-latest
# julia-version: 1.6
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
- uses: julia-actions/cache@v2
with:
version: ${{ matrix.julia-version }}
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
- uses: codecov/codecov-action@v4
with:
file: lcov.info

docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1'
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- run: |
julia --project=docs -e '
Expand Down

0 comments on commit 0e27882

Please sign in to comment.