6
6
branches :
7
7
- libc-0.2
8
8
9
+ env :
10
+ LIBC_CI : 1
11
+
9
12
jobs :
10
13
docker_linux_tier1 :
11
14
name : Docker Linux Tier1
21
24
- name : Setup Rust toolchain
22
25
run : TARGET=${{ matrix.target }} sh ./ci/install-rust.sh
23
26
- name : Execute run-docker.sh
24
- run : LIBC_CI=1 sh ./ci/run-docker.sh ${{ matrix.target }}
27
+ run : sh ./ci/run-docker.sh ${{ matrix.target }}
25
28
26
29
macos :
27
30
name : macOS
36
39
- name : Setup Rust toolchain
37
40
run : TARGET=${{ matrix.target }} sh ./ci/install-rust.sh
38
41
- name : Execute run.sh
39
- run : LIBC_CI=1 sh ./ci/run.sh ${{ matrix.target }}
42
+ run : sh ./ci/run.sh ${{ matrix.target }}
40
43
41
44
windows :
42
45
name : Windows
66
69
run : TARGET=${{ matrix.target }} sh ./ci/install-rust.sh
67
70
shell : bash
68
71
- name : Execute run.sh
69
- run : LIBC_CI=1 sh ./ci/run.sh ${{ matrix.target }}
72
+ run : sh ./ci/run.sh ${{ matrix.target }}
70
73
shell : bash
71
74
72
75
style_check :
@@ -116,7 +119,7 @@ jobs:
116
119
- name : Setup Rust toolchain
117
120
run : TARGET=${{ matrix.target }} sh ./ci/install-rust.sh
118
121
- name : Execute run-docker.sh
119
- run : LIBC_CI=1 sh ./ci/run-docker.sh ${{ matrix.target }}
122
+ run : sh ./ci/run-docker.sh ${{ matrix.target }}
120
123
121
124
# These targets are tier 3 or otherwise need to have CI build std via -Zbuild-std.
122
125
# Because of this, only the nightly compiler can be used on these targets.
@@ -183,7 +186,7 @@ jobs:
183
186
- name : Setup Rust toolchain
184
187
run : TOOLCHAIN=${{ matrix.toolchain }} sh ./ci/install-rust.sh
185
188
- name : Execute build.sh
186
- run : LIBC_CI=1 TOOLCHAIN=${{ matrix.toolchain }} sh ./ci/build.sh
189
+ run : TOOLCHAIN=${{ matrix.toolchain }} sh ./ci/build.sh
187
190
188
191
build_channels_macos :
189
192
name : Build Channels macOS
@@ -204,7 +207,7 @@ jobs:
204
207
- name : Setup Rust toolchain
205
208
run : TOOLCHAIN=${{ matrix.target.toolchain }} sh ./ci/install-rust.sh
206
209
- name : Execute build.sh
207
- run : LIBC_CI=1 TOOLCHAIN=${{ matrix.target.toolchain }} sh ./ci/build.sh
210
+ run : TOOLCHAIN=${{ matrix.target.toolchain }} sh ./ci/build.sh
208
211
209
212
build_channels_windows :
210
213
name : Build Channels Windows
@@ -226,7 +229,7 @@ jobs:
226
229
run : rustup self update
227
230
shell : bash
228
231
- name : Execute build.sh
229
- run : LIBC_CI=1 TOOLCHAIN=${{ matrix.toolchain }} sh ./ci/build.sh
232
+ run : TOOLCHAIN=${{ matrix.toolchain }} sh ./ci/build.sh
230
233
shell : bash
231
234
232
235
check_cfg :
@@ -237,7 +240,7 @@ jobs:
237
240
- name : Setup Rust toolchain
238
241
run : TOOLCHAIN=nightly sh ./ci/install-rust.sh
239
242
- name : Build with check-cfg
240
- run : LIBC_CI=1 LIBC_CHECK_CFG=1 cargo build -Z unstable-options -Z check-cfg
243
+ run : LIBC_CHECK_CFG=1 cargo build -Z unstable-options -Z check-cfg
241
244
242
245
# One job that "summarizes" the success state of this pipeline. This can then be added to branch
243
246
# protection, rather than having to add each job separately.
0 commit comments