File tree 4 files changed +15
-3
lines changed
host-x86_64/x86_64-gnu-llvm-15
4 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 57
57
os : ubuntu-20.04-4core-16gb
58
58
env : {}
59
59
- name : x86_64-gnu-llvm-15
60
+ env :
61
+ SKIP_CODEGEN_TESTS : " 1"
60
62
os : ubuntu-20.04-16core-64gb
61
- env : {}
62
63
- name : x86_64-gnu-tools
63
64
os : ubuntu-20.04-16core-64gb
64
65
env : {}
Original file line number Diff line number Diff line change 4
4
5
5
# Only run the stage 1 tests on merges, not on PR CI jobs.
6
6
if [[ -z " ${PR_CI_JOB} " ]]; then
7
- ../x.py --stage 1 test --skip src/tools/tidy --skip tests/codegen
7
+ if [[ " ${SKIP_CODEGEN_TESTS} " == " 1" ]]; then
8
+ ../x.py --stage 1 test --skip src/tools/tidy --skip tests/codegen
9
+ else
10
+ ../x.py --stage 1 test --skip src/tools/tidy
11
+ fi
8
12
9
13
# Run the `mir-opt` tests again but this time for a 32-bit target.
10
14
# This enforces that tests using `// EMIT_MIR_FOR_EACH_BIT_WIDTH` have
@@ -20,7 +24,11 @@ if [[ -z "${PR_CI_JOB}" ]]; then
20
24
fi
21
25
22
26
# NOTE: intentionally uses all of `x.py`, `x`, and `x.ps1` to make sure they all work on Linux.
23
- ../x.py --stage 2 test --skip src/tools/tidy --skip tests/codegen
27
+ if [[ " ${SKIP_CODEGEN_TESTS} " == " 1" ]]; then
28
+ ../x.py --stage 2 test --skip src/tools/tidy --skip tests/codegen
29
+ else
30
+ ../x.py --stage 2 test --skip src/tools/tidy
31
+ fi
24
32
25
33
# Run the `mir-opt` tests again but this time for a 32-bit target.
26
34
# This enforces that tests using `// EMIT_MIR_FOR_EACH_BIT_WIDTH` have
Original file line number Diff line number Diff line change @@ -271,6 +271,7 @@ docker \
271
271
run \
272
272
--workdir /checkout/obj \
273
273
--env SRC=/checkout \
274
+ --env " SKIP_CODEGEN_TESTS=$SKIP_CODEGEN_TESTS " \
274
275
$args \
275
276
--env CARGO_HOME=/cargo \
276
277
--env DEPLOY \
Original file line number Diff line number Diff line change @@ -332,6 +332,8 @@ jobs:
332
332
333
333
- name : x86_64-gnu-llvm-15
334
334
<< : *job-linux-16c
335
+ env :
336
+ SKIP_CODEGEN_TESTS : " 1"
335
337
336
338
- name : x86_64-gnu-tools
337
339
<< : *job-linux-16c
You can’t perform that action at this time.
0 commit comments