Skip to content

Commit 80f0149

Browse files
authored
ci: run older Julia version only on Linux
1 parent 69a3fde commit 80f0149

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.github/workflows/CI.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ jobs:
2323
# Parts of this package depend on Pkg internals.
2424
# Because Pkg internals are allowed to change between Julia minor versions,
2525
# we should run CI on each minor version of Julia that we want to support.
26+
# But it's fine to just run these with Linux, as not to make the matrix too
27+
# big. Also, Julia 1.4.2 does not work on the macos-latest runner for some
28+
# reason, failing with a linking error, so that also sidesteps that issue.
2629
- '1.3'
2730
- '1.4'
2831
- '1.5'
@@ -35,10 +38,23 @@ jobs:
3538
- 'nightly'
3639
os:
3740
- ubuntu-latest
38-
- macOS-latest
39-
- windows-latest
4041
arch:
4142
- x64
43+
# We still want to run CI on Windows and MacOS for some Julia versions, so
44+
# so doing that for nightly and the latest release.
45+
include:
46+
- os: macOS-latest
47+
version: '1'
48+
arch: x64
49+
- os: windows-latest
50+
version: '1'
51+
arch: x64
52+
- os: macOS-latest
53+
version: 'nightly'
54+
arch: x64
55+
- os: windows-latest
56+
version: 'nightly'
57+
arch: x64
4258
steps:
4359
- uses: actions/checkout@v4
4460
- uses: julia-actions/setup-julia@v2

0 commit comments

Comments
 (0)