Skip to content

Commit 0afe52e

Browse files
authored
CI: Reduce the number of CI jobs
1 parent 5be878b commit 0afe52e

1 file changed

Lines changed: 19 additions & 2 deletions

File tree

.github/workflows/CI.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ jobs:
3232
- '1.11'
3333
- '1.12'
3434
- '1.13-nightly' # TODO: Change this to '1.13' once Julia 1.13.0 has been released
35+
# - '1.14-nightly' # TODO: Uncomment this line once Julia 1.14 has been feature-frozen and branched
3536
- 'nightly'
3637
os:
3738
- ubuntu-latest
38-
- windows-latest
39+
# Windows is handled separately, in the `include` section below
3940
# macOS is handled separately, in the `include` section below
4041
julia-wordsize:
4142
# The `julia-wordsize` variable only controls the word size of the Julia binaries that we use
4243
# It doesn't affect the CPU architecture of the underlying GitHub Actions runner (virtual machine).
43-
- '32'
4444
- '64'
4545
include:
4646
# We are capped to a total of 5 concurrent macOS jobs across
@@ -55,6 +55,23 @@ jobs:
5555
version: '1'
5656
- os: macos-15-intel # Intel macOS
5757
version: '1'
58+
# To reduce the number of CI jobs, we test Linux 64-bit against all Julia versions (see above),
59+
# but for other platforms:
60+
# Linux 32-bit: Only test against Julia v1
61+
- os: ubuntu-latest
62+
version: '1'
63+
julia-wordsize: '32'
64+
# Windows 64-bit: Only test against Julia LTS and Julia v1
65+
- os: windows-latest
66+
version: 'lts'
67+
julia-wordsize: '64'
68+
- os: windows-latest
69+
version: '1'
70+
julia-wordsize: '64'
71+
# Windows 32-bit: Only test against Julia v1
72+
- os: windows-latest
73+
version: '1'
74+
julia-wordsize: '32'
5875
steps:
5976
- uses: actions/checkout@v6
6077
- uses: julia-actions/setup-julia@v2

0 commit comments

Comments
 (0)