Skip to content

Commit

Permalink
ci: run julia with default arch (#174)
Browse files Browse the repository at this point in the history
* ci: run julia with default arch

* ci: fix codecov-action arg name

* ci: use macos-13 for julia 1.0

* ci: remove duplicate github.event_name
  • Loading branch information
inkydragon authored Jan 4, 2025
1 parent 85c7193 commit cf0b388
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ concurrency:

jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
name: Julia ${{ matrix.version }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
timeout-minutes: 60
permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created
Expand All @@ -28,22 +28,25 @@ jobs:
fail-fast: false
matrix:
version:
- '1.0'
- '1.6'
- '1'
# - 'nightly'
- '1.0' # compat
- 'lts'
- 'nightly'
os:
- ubuntu-latest
- macOS-latest
- macOS-latest # Apple silicon
- windows-latest
arch:
- x64
exclude:
# Apple Silicon need julia >= v1.8
- os: macos-latest
version: '1.0'
include:
- os: macos-13 # Intel
version: '1.0'
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
Expand All @@ -52,7 +55,7 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }} # required
fail_ci_if_error: true
file: lcov.info
files: lcov.info

docs:
name: Documentation
Expand Down

0 comments on commit cf0b388

Please sign in to comment.