Skip to content

Commit

Permalink
CI runner tweaks (#464)
Browse files Browse the repository at this point in the history
* Avoid testing Julia 1.6 on Windows

* Test against Apple silicon

* Add CodeCov token to avoid rate limiting
  • Loading branch information
omus committed May 23, 2024
1 parent 5c8f5c4 commit 1b8057c
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,40 @@ jobs:
- "1.6" # LTS / Oldest supported version
- "1" # Latest release
- nightly
# https://github.com/actions/runner-images#available-images
os:
- ubuntu-latest
- macOS-latest
- macos-14 # Apple silicon
- windows-latest
arch:
- x64
- x86
- aarch64
exclude:
# Test 32-bit only on Linux
- os: macOS-latest
- os: macos-14
arch: x86
- os: windows-latest
arch: x86
# Test ARM64 only on macOS
- os: ubuntu-latest
arch: aarch64
- os: windows-latest
arch: aarch64
# Prefer testing against Apple Silicon
- os: macos-14
arch: x64
- version: "1.6"
os: macos-14
arch: aarch64
# Disable Windows tests on Julia 1.6 as it's particularly slow
- version: "1.6"
os: windows-latest
include:
# Apple silicon isn't supported by Julia 1.6
- version: "1.6"
os: macos-13 # Intel
arch: x64
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
Expand All @@ -60,6 +81,7 @@ jobs:
- uses: codecov/codecov-action@v4
with:
files: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}

# https://pkgdocs.julialang.org/v1/creating-packages/#Transition-from-normal-dependency-to-extension
weakdeps:
Expand Down

0 comments on commit 1b8057c

Please sign in to comment.