Skip to content

Commit cf0b388

Browse files
authored
ci: run julia with default arch (#174)
* 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
1 parent 85c7193 commit cf0b388

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

.github/workflows/CI.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ concurrency:
1818

1919
jobs:
2020
test:
21-
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
21+
name: Julia ${{ matrix.version }} - ${{ matrix.os }}
2222
runs-on: ${{ matrix.os }}
2323
timeout-minutes: 60
2424
permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created
@@ -28,22 +28,25 @@ jobs:
2828
fail-fast: false
2929
matrix:
3030
version:
31-
- '1.0'
32-
- '1.6'
33-
- '1'
34-
# - 'nightly'
31+
- '1.0' # compat
32+
- 'lts'
33+
- 'nightly'
3534
os:
3635
- ubuntu-latest
37-
- macOS-latest
36+
- macOS-latest # Apple silicon
3837
- windows-latest
39-
arch:
40-
- x64
38+
exclude:
39+
# Apple Silicon need julia >= v1.8
40+
- os: macos-latest
41+
version: '1.0'
42+
include:
43+
- os: macos-13 # Intel
44+
version: '1.0'
4145
steps:
4246
- uses: actions/checkout@v4
4347
- uses: julia-actions/setup-julia@v2
4448
with:
4549
version: ${{ matrix.version }}
46-
arch: ${{ matrix.arch }}
4750
- uses: julia-actions/cache@v2
4851
- uses: julia-actions/julia-buildpkg@v1
4952
- uses: julia-actions/julia-runtest@v1
@@ -52,7 +55,7 @@ jobs:
5255
with:
5356
token: ${{ secrets.CODECOV_TOKEN }} # required
5457
fail_ci_if_error: true
55-
file: lcov.info
58+
files: lcov.info
5659

5760
docs:
5861
name: Documentation

0 commit comments

Comments
 (0)