Skip to content

Commit e219977

Browse files
committed
ci: Update CI.yaml
1 parent f4a9e43 commit e219977

File tree

1 file changed

+77
-33
lines changed

1 file changed

+77
-33
lines changed

.github/workflows/CI.yaml

Lines changed: 77 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,27 @@ jobs:
1919
runs-on: ${{ matrix.os }}
2020
strategy:
2121
matrix:
22-
target:
23-
- x86_64-unknown-linux-gnu
24-
- aarch64-apple-darwin
25-
- x86_64-pc-windows-msvc
26-
toolchain:
27-
- 1.74.0 # MSRV
22+
os-alias:
23+
- ubuntu
24+
- macos
25+
- windows
26+
toolchain-alias:
27+
- msrv
2828
- stable
2929
include:
30-
- target: x86_64-unknown-linux-gnu
30+
- os-alias: ubuntu
3131
os: ubuntu-24.04
32-
- target: aarch64-apple-darwin
32+
target: x86_64-unknown-linux-gnu
33+
- os-alias: macos
3334
os: macos-14
34-
- target: x86_64-pc-windows-msvc
35+
target: aarch64-apple-darwin
36+
- os-alias: windows
3537
os: windows-2022
38+
target: x86_64-pc-windows-msvc
39+
- toolchain-alias: msrv
40+
toolchain: 1.74.0
41+
- toolchain-alias: stable
42+
toolchain: stable
3643
steps:
3744
- name: Checkout code
3845
uses: actions/checkout@v4
@@ -61,20 +68,27 @@ jobs:
6168
runs-on: ${{ matrix.os }}
6269
strategy:
6370
matrix:
64-
target:
65-
- x86_64-unknown-linux-gnu
66-
- aarch64-apple-darwin
67-
- x86_64-pc-windows-msvc
68-
toolchain:
69-
- 1.74.0
71+
os-alias:
72+
- ubuntu
73+
- macos
74+
- windows
75+
toolchain-alias:
76+
- msrv
7077
- stable
7178
include:
72-
- target: x86_64-unknown-linux-gnu
79+
- os-alias: ubuntu
7380
os: ubuntu-24.04
74-
- target: aarch64-apple-darwin
81+
target: x86_64-unknown-linux-gnu
82+
- os-alias: macos
7583
os: macos-14
76-
- target: x86_64-pc-windows-msvc
84+
target: aarch64-apple-darwin
85+
- os-alias: windows
7786
os: windows-2022
87+
target: x86_64-pc-windows-msvc
88+
- toolchain-alias: msrv
89+
toolchain: 1.74.0
90+
- toolchain-alias: stable
91+
toolchain: stable
7892
steps:
7993
- name: Set Git to use LF
8094
if: matrix.os == 'windows-2022'
@@ -110,9 +124,14 @@ jobs:
110124
runs-on: ubuntu-24.04
111125
strategy:
112126
matrix:
113-
toolchain:
114-
- 1.74.0 # MSRV
127+
toolchain-alias:
128+
- msrv
115129
- stable
130+
include:
131+
- toolchain-alias: msrv
132+
toolchain: 1.74.0
133+
- toolchain-alias: stable
134+
toolchain: stable
116135
steps:
117136
- name: Checkout code
118137
uses: actions/checkout@v4
@@ -138,9 +157,14 @@ jobs:
138157
runs-on: ubuntu-24.04
139158
strategy:
140159
matrix:
141-
toolchain:
142-
- 1.74.0
160+
toolchain-alias:
161+
- msrv
143162
- stable
163+
include:
164+
- toolchain-alias: msrv
165+
toolchain: 1.74.0
166+
- toolchain-alias: stable
167+
toolchain: stable
144168
steps:
145169
- name: Checkout code
146170
uses: actions/checkout@v4
@@ -166,16 +190,31 @@ jobs:
166190
runs-on: ${{ matrix.os }}
167191
strategy:
168192
matrix:
169-
os:
170-
- ubuntu-24.04
171-
- macos-14
172-
- windows-2022
173-
rust-version:
174-
- 1.74.0
193+
os-alias:
194+
- ubuntu
195+
- macos
196+
- windows
197+
rust-version-alias:
198+
- msrv
175199
- stable
176-
python-version:
177-
- "3.8"
178-
- "3.x" # latest stable version of Python 3
200+
python-version-alias:
201+
- minimum
202+
- latest
203+
include:
204+
- os-alias: ubuntu
205+
os: ubuntu-24.04
206+
- os-alias: macos
207+
os: macos-14
208+
- os-alias: windows
209+
os: windows-2022
210+
- rust-version-alias: msrv
211+
rust-version: 1.74.0
212+
- rust-version-alias: stable
213+
rust-version: stable
214+
- python-version-alias: minimum
215+
python-version: "3.8"
216+
- python-version-alias: latest
217+
python-version: "3.x"
179218
steps:
180219
- name: Set Git to use LF
181220
if: matrix.os == 'windows-2022'
@@ -291,9 +330,14 @@ jobs:
291330
runs-on: ubuntu-24.04
292331
strategy:
293332
matrix:
294-
toolchain:
295-
- 1.74.0
333+
toolchain-alias:
334+
- msrv
296335
- stable
336+
include:
337+
- toolchain-alias: msrv
338+
toolchain: 1.74.0
339+
- toolchain-alias: stable
340+
toolchain: stable
297341
steps:
298342
- name: Checkout code
299343
uses: actions/checkout@v4

0 commit comments

Comments
 (0)