Skip to content

Commit 3e9b70d

Browse files
committed
Test x86_64-gnu in PR CI, not x86_64-gnu-llvm-14
This is a pre-requisite for rust-lang#112143, which wants to start using download-rustc in PRs. download-rustc doesn't allow providing an external LLVM.
1 parent 0828c15 commit 3e9b70d

File tree

5 files changed

+13
-12
lines changed

5 files changed

+13
-12
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- name: mingw-check-tidy
5757
os: ubuntu-20.04-4core-16gb
5858
env: {}
59-
- name: x86_64-gnu-llvm-15
59+
- name: x86_64-gnu
6060
env:
6161
ENABLE_GCC_CODEGEN: "1"
6262
os: ubuntu-20.04-16core-64gb

src/ci/docker/host-x86_64/x86_64-gnu-llvm-17/Dockerfile

+1-9
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ ARG DEBIAN_FRONTEND=noninteractive
44

55
RUN apt-get update && apt-get install -y --no-install-recommends \
66
g++ \
7-
gcc-multilib \
87
make \
98
ninja-build \
109
file \
@@ -26,11 +25,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2625
mingw-w64 \
2726
&& rm -rf /var/lib/apt/lists/*
2827

29-
# Install powershell (universal package) so we can test x.ps1 on Linux
30-
RUN curl -sL "https://github.com/PowerShell/PowerShell/releases/download/v7.3.1/powershell_7.3.1-1.deb_amd64.deb" > powershell.deb && \
31-
dpkg -i powershell.deb && \
32-
rm -f powershell.deb
33-
3428
COPY scripts/sccache.sh /scripts/
3529
RUN sh /scripts/sccache.sh
3630

@@ -45,6 +39,4 @@ ENV RUST_CONFIGURE_ARGS \
4539
--enable-llvm-link-shared \
4640
--set rust.thin-lto-import-instr-limit=10
4741

48-
COPY host-x86_64/x86_64-gnu-llvm-15/script.sh /tmp/
49-
50-
ENV SCRIPT /tmp/script.sh
42+
ENV SCRIPT ../x.py --stage 2 test

src/ci/docker/host-x86_64/x86_64-gnu/Dockerfile

+10-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ FROM ubuntu:22.04
33
ARG DEBIAN_FRONTEND=noninteractive
44
RUN apt-get update && apt-get install -y --no-install-recommends \
55
g++ \
6+
gcc-multilib \
67
make \
78
ninja-build \
89
file \
@@ -19,6 +20,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1920
mingw-w64 \
2021
&& rm -rf /var/lib/apt/lists/*
2122

23+
# Install powershell (universal package) so we can test x.ps1 on Linux
24+
RUN curl -sL "https://github.com/PowerShell/PowerShell/releases/download/v7.3.1/powershell_7.3.1-1.deb_amd64.deb" > powershell.deb && \
25+
dpkg -i powershell.deb && \
26+
rm -f powershell.deb
27+
2228
COPY scripts/sccache.sh /scripts/
2329
RUN sh /scripts/sccache.sh
2430

@@ -27,4 +33,7 @@ ENV RUST_CONFIGURE_ARGS \
2733
--enable-sanitizers \
2834
--enable-profiler \
2935
--enable-compiler-docs
30-
ENV SCRIPT python3 ../x.py --stage 2 test
36+
37+
COPY host-x86_64/x86_64-gnu/script.sh /tmp/
38+
39+
ENV SCRIPT /tmp/script.sh

src/ci/github-actions/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ jobs:
334334
- name: mingw-check-tidy
335335
<<: *job-linux-4c
336336

337-
- name: x86_64-gnu-llvm-15
337+
- name: x86_64-gnu
338338
env:
339339
ENABLE_GCC_CODEGEN: "1"
340340
<<: *job-linux-16c

0 commit comments

Comments
 (0)