Skip to content

Commit 686b6c4

Browse files
committed
Update ci.yml
1 parent 25eabfd commit 686b6c4

File tree

1 file changed

+26
-13
lines changed

1 file changed

+26
-13
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,34 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
version:
18-
- '1.6' # Replace this with the minimum Julia version that your package supports. E.g. if your package requires Julia 1.5 or higher, change this to '1.5'.
18+
- 'lts' # Replace this with the minimum Julia version that your package supports. E.g. if your package requires Julia 1.5 or higher, change this to '1.5'.
1919
- '1' # Leave this line unchanged. '1' will automatically expand to the latest stable 1.x release of Julia.
2020
- 'nightly'
2121
os:
2222
- ubuntu-latest
23-
- macos-latest
2423
- windows-latest
24+
- macOS-13 # intel
25+
- macOS-14 # arm
2526
arch:
2627
- x64
28+
- aarch64
29+
exclude:
30+
- os: ubuntu-latest
31+
arch: aarch64
32+
- os: windows-latest
33+
arch: aarch64
34+
- os: macOS-13
35+
arch: aarch64
36+
- os: macOS-14
37+
arch: x64
2738
steps:
28-
- uses: actions/checkout@v2
29-
- uses: julia-actions/setup-julia@v1
39+
- uses: actions/checkout@v4
40+
- uses: julia-actions/setup-julia@v2
3041
with:
3142
version: ${{ matrix.version }}
3243
arch: ${{ matrix.arch }}
33-
- uses: julia-actions/cache@v2
44+
- uses: actions/cache@v4
3445
env:
35-
PYTHON: ""
3646
cache-name: cache-artifacts
3747
with:
3848
path: ~/.julia/artifacts
@@ -42,17 +52,22 @@ jobs:
4252
${{ runner.os }}-test-
4353
${{ runner.os }}-
4454
- uses: julia-actions/julia-buildpkg@v1
55+
- run: |
56+
julia --project=docs -e '
57+
using Pkg
58+
Pkg.develop(PackageSpec(path=pwd()))
59+
Pkg.instantiate()'
4560
- uses: julia-actions/julia-runtest@v1
61+
# env:
62+
# JULIA_NUM_THREADS: 4
4663
- uses: julia-actions/julia-processcoverage@v1
47-
- uses: codecov/codecov-action@v1
48-
with:
49-
file: lcov.info
64+
- uses: codecov/codecov-action@v5
5065
docs:
5166
name: Documentation
5267
runs-on: ubuntu-latest
5368
steps:
54-
- uses: actions/checkout@v2
55-
- uses: julia-actions/setup-julia@v1
69+
- uses: actions/checkout@v4
70+
- uses: julia-actions/setup-julia@v2
5671
with:
5772
version: '1'
5873
- run: |
@@ -67,7 +82,5 @@ jobs:
6782
# doctest(MYPACKAGE)'
6883
- run: julia --project=docs docs/make.jl
6984
env:
70-
PYTHON: ""
7185
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7286
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
73-

0 commit comments

Comments
 (0)