File tree 2 files changed +29
-48
lines changed
2 files changed +29
-48
lines changed Original file line number Diff line number Diff line change @@ -2,67 +2,52 @@ name: CI (Julia nightly)
2
2
on :
3
3
pull_request :
4
4
branches :
5
- - master
5
+ - main
6
6
paths-ignore :
7
7
- ' LICENSE.md'
8
8
- ' README.md'
9
9
- ' .github/workflows/TagBot.yml'
10
10
push :
11
11
tags : ' *'
12
12
branches :
13
- - master
13
+ - main
14
14
paths-ignore :
15
15
- ' LICENSE.md'
16
16
- ' README.md'
17
17
- ' .github/workflows/TagBot.yml'
18
18
jobs :
19
19
test-julia-nightly :
20
20
timeout-minutes : 30
21
- name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
21
+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }}
22
22
runs-on : ${{ matrix.os }}
23
23
strategy :
24
24
fail-fast : false
25
25
matrix :
26
- arch :
27
- - x64
28
- - x86
26
+ # use default arch
29
27
exclusive :
30
28
- ' 0'
31
29
os :
32
30
- ubuntu-latest
33
- - macOS-latest
31
+ - macOS-latest # arm
34
32
- windows-latest
35
33
threads :
36
34
- ' 5'
37
35
version :
38
- - ' 1.5'
39
- - ' 1'
36
+ # Runs on Julia nightly only.
40
37
- ' nightly'
41
- exclude :
42
- - os : macOS-latest
43
- arch : x86 # 32-bit Julia binaries are not available on macOS
44
38
include :
45
- - exclusive : ' 1 '
46
- threads : ' 2 '
47
- arch : x64
39
+ # ( exclusive=1, threads=2)
40
+ - arch : x64
41
+ exclusive : ' 1 '
48
42
os : ubuntu-latest
49
- version : ' 1'
43
+ threads : ' 2'
44
+ version : ' 1.11'
50
45
steps :
51
46
- uses : actions/checkout@v4
52
47
- uses : julia-actions/setup-julia@v2
53
48
with :
54
49
version : ${{ matrix.version }}
55
- arch : ${{ matrix.arch }}
56
- - uses : actions/cache@v4
57
- env :
58
- cache-name : cache-artifacts
59
- with :
60
- path : ~/.julia/artifacts
61
- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
62
- restore-keys : |
63
- ${{ runner.os }}-test-${{ env.cache-name }}-
64
- ${{ runner.os }}-test-
65
- ${{ runner.os }}-
50
+ - uses : julia-actions/cache@v2
66
51
- uses : julia-actions/julia-buildpkg@v1
67
52
- uses : julia-actions/julia-runtest@v1
68
53
env :
Original file line number Diff line number Diff line change @@ -2,15 +2,15 @@ name: CI
2
2
on :
3
3
pull_request :
4
4
branches :
5
- - master
5
+ - main
6
6
paths-ignore :
7
7
- ' LICENSE.md'
8
8
- ' README.md'
9
9
- ' .github/workflows/TagBot.yml'
10
10
push :
11
11
tags : ' *'
12
12
branches :
13
- - master
13
+ - main
14
14
paths-ignore :
15
15
- ' LICENSE.md'
16
16
- ' README.md'
@@ -30,39 +30,35 @@ jobs:
30
30
- ' 0'
31
31
os :
32
32
- ubuntu-latest
33
- - macOS-latest
34
33
- windows-latest
34
+ - macos-13 # Intel
35
35
threads :
36
36
- ' 5'
37
37
version :
38
- - ' 1.5'
39
- - ' 1'
40
- - ' nightly'
38
+ - ' 1.11'
39
+ # - '1' # Use this when julia +1 > 1.11
41
40
exclude :
42
- - os : macOS-latest
41
+ - os : macos-13
43
42
arch : x86 # 32-bit Julia binaries are not available on macOS
44
43
include :
45
- - exclusive : ' 1'
46
- threads : ' 2'
47
- arch : x64
44
+ - arch : aarch64
45
+ exclusive : ' 0'
46
+ os : macOS-latest # Arm
47
+ threads : ' 5'
48
+ version : ' 1.11'
49
+ # (exclusive=1, threads=2)
50
+ - arch : x64
51
+ exclusive : ' 1'
48
52
os : ubuntu-latest
49
- version : ' 1'
53
+ threads : ' 2'
54
+ version : ' 1.11'
50
55
steps :
51
56
- uses : actions/checkout@v4
52
57
- uses : julia-actions/setup-julia@v2
53
58
with :
54
59
version : ${{ matrix.version }}
55
60
arch : ${{ matrix.arch }}
56
- - uses : actions/cache@v4
57
- env :
58
- cache-name : cache-artifacts
59
- with :
60
- path : ~/.julia/artifacts
61
- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
62
- restore-keys : |
63
- ${{ runner.os }}-test-${{ env.cache-name }}-
64
- ${{ runner.os }}-test-
65
- ${{ runner.os }}-
61
+ - uses : julia-actions/cache@v2
66
62
- uses : julia-actions/julia-buildpkg@v1
67
63
- uses : julia-actions/julia-runtest@v1
68
64
env :
You can’t perform that action at this time.
0 commit comments