Skip to content

Commit 46ed4a5

Browse files
authored
CI: Run the build-mylib job on both LTS (1.10) and stable (currently 1.11) (#985)
1 parent c0c4279 commit 46ed4a5

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/ci.yml

+11-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- '1.6' # previous LTS
5050
- '1.9'
5151
- '1.10' # current LTS
52-
- '1.11'
52+
- '1.11' # current stable
5353
# - 'nightly' # TODO: decide whether we want to run any CI jobs on nightly.
5454
julia-wordsize:
5555
# The value here only affects the version of Julia binary that we download.
@@ -133,11 +133,20 @@ jobs:
133133
build-mylib:
134134
runs-on: ubuntu-latest
135135
timeout-minutes: 60
136+
strategy:
137+
# Only run 1 of the `build-mylib` job at a time, so that this job doesn't take over
138+
# too many CI resources, and also to leave space for other runs in the JuliaLang org.
139+
max-parallel: 1
140+
fail-fast: false
141+
matrix:
142+
julia-version:
143+
- '1.10' # current LTS
144+
- '1.11' # current stable
136145
steps:
137146
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
138147
- uses: julia-actions/setup-julia@9b79636afcfb07ab02c256cede01fe2db6ba808c # v2.6.0
139148
with:
140-
version: '1'
149+
version: ${{ matrix.julia-version }}
141150
- uses: julia-actions/cache@824243901fb567ccb490b0d0e2483ccecde46834 # v2.0.5
142151
- uses: julia-actions/julia-buildpkg@90dd6f23eb49626e4e6612cb9d64d456f86e6a1c # v1.6.0
143152
with:

0 commit comments

Comments
 (0)