CI: use free runners for x86_64-gnu-llvm jobs
This commit is contained in:
parent
b597d2a099
commit
577b5f387f
4 changed files with 33 additions and 9 deletions
|
|
@ -60,4 +60,5 @@ COPY host-x86_64/dist-x86_64-linux/build-gccjit.sh /scripts/
|
|||
RUN /scripts/build-gccjit.sh /scripts
|
||||
|
||||
COPY scripts/x86_64-gnu-llvm.sh /tmp/script.sh
|
||||
ENV SCRIPT /tmp/script.sh
|
||||
ARG SCRIPT_ARG
|
||||
ENV SCRIPT="/tmp/script.sh && ${SCRIPT_ARG}"
|
||||
|
|
|
|||
|
|
@ -60,4 +60,4 @@ COPY host-x86_64/dist-x86_64-linux/build-gccjit.sh /scripts/
|
|||
RUN /scripts/build-gccjit.sh /scripts
|
||||
|
||||
COPY scripts/x86_64-gnu-llvm.sh /tmp/script.sh
|
||||
ENV SCRIPT /tmp/script.sh
|
||||
ENV SCRIPT="/tmp/script.sh && ${SCRIPT_ARG}"
|
||||
|
|
|
|||
|
|
@ -39,9 +39,6 @@ if [[ -z "${PR_CI_JOB}" ]]; then
|
|||
library/std library/alloc library/core
|
||||
fi
|
||||
|
||||
# NOTE: intentionally uses all of `x.py`, `x`, and `x.ps1` to make sure they all work on Linux.
|
||||
../x.py --stage 2 test --skip src/tools/tidy
|
||||
|
||||
# Run the `mir-opt` tests again but this time for a 32-bit target.
|
||||
# This enforces that tests using `// EMIT_MIR_FOR_EACH_BIT_WIDTH` have
|
||||
# both 32-bit and 64-bit outputs updated by the PR author, before
|
||||
|
|
|
|||
|
|
@ -117,6 +117,7 @@ pr:
|
|||
ENABLE_GCC_CODEGEN: "1"
|
||||
# We are adding (temporarily) a dummy commit on the compiler
|
||||
READ_ONLY_SRC: "0"
|
||||
DOCKER_SCRIPT: python3 ../x.py --stage 2 test --skip src/tools/tidy
|
||||
<<: *job-linux-16c
|
||||
- image: x86_64-gnu-tools
|
||||
<<: *job-linux-16c
|
||||
|
|
@ -312,16 +313,41 @@ auto:
|
|||
- image: x86_64-gnu-distcheck
|
||||
<<: *job-linux-8c
|
||||
|
||||
- image: x86_64-gnu-llvm-19
|
||||
# The x86_64-gnu-llvm-19 job is split into multiple jobs to run tests in parallel.
|
||||
# x86_64-gnu-llvm-19-1 skips tests that run in x86_64-gnu-llvm-19-2.
|
||||
- image: x86_64-gnu-llvm-19-1
|
||||
env:
|
||||
RUST_BACKTRACE: 1
|
||||
<<: *job-linux-8c
|
||||
IMAGE: x86_64-gnu-llvm-19
|
||||
<<: *stage_2_test_set1
|
||||
<<: *job-linux-4c
|
||||
|
||||
- image: x86_64-gnu-llvm-18
|
||||
# Skip tests that run in x86_64-gnu-llvm-19-2
|
||||
- image: x86_64-gnu-llvm-19-2
|
||||
env:
|
||||
RUST_BACKTRACE: 1
|
||||
IMAGE: x86_64-gnu-llvm-19
|
||||
<<: *stage_2_test_set2
|
||||
<<: *job-linux-4c
|
||||
|
||||
# The x86_64-gnu-llvm-18 job is split into multiple jobs to run tests in parallel.
|
||||
# x86_64-gnu-llvm-18-1 skips tests that run in x86_64-gnu-llvm-18-2.
|
||||
- image: x86_64-gnu-llvm-18-1
|
||||
env:
|
||||
RUST_BACKTRACE: 1
|
||||
READ_ONLY_SRC: "0"
|
||||
<<: *job-linux-8c
|
||||
IMAGE: x86_64-gnu-llvm-18
|
||||
<<: *stage_2_test_set1
|
||||
<<: *job-linux-4c
|
||||
|
||||
# Skip tests that run in x86_64-gnu-llvm-18-2
|
||||
- image: x86_64-gnu-llvm-18-2
|
||||
env:
|
||||
RUST_BACKTRACE: 1
|
||||
READ_ONLY_SRC: "0"
|
||||
IMAGE: x86_64-gnu-llvm-18
|
||||
<<: *stage_2_test_set2
|
||||
<<: *job-linux-4c
|
||||
|
||||
- image: x86_64-gnu-nopt
|
||||
<<: *job-linux-4c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue