Skip to content

Commit b80c2f8

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

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
@@ -55,7 +55,7 @@ jobs:
5555
- name: mingw-check-tidy
5656
os: ubuntu-20.04-16core-64gb
5757
env: {}
58-
- name: x86_64-gnu-llvm-14
58+
- name: x86_64-gnu
5959
os: ubuntu-20.04-16core-64gb
6060
env: {}
6161
- name: x86_64-gnu-tools

src/ci/docker/host-x86_64/x86_64-gnu-llvm-14/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

@@ -49,6 +43,4 @@ ENV RUST_CONFIGURE_ARGS \
4943
--enable-llvm-link-shared \
5044
--set rust.thin-lto-import-instr-limit=10
5145

52-
COPY host-x86_64/x86_64-gnu-llvm-14/script.sh /tmp/
53-
54-
ENV SCRIPT /tmp/script.sh
46+
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:20.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
@@ -323,7 +323,7 @@ jobs:
323323
- name: mingw-check-tidy
324324
<<: *job-linux-16c
325325

326-
- name: x86_64-gnu-llvm-14
326+
- name: x86_64-gnu
327327
<<: *job-linux-16c
328328

329329
- name: x86_64-gnu-tools

0 commit comments

Comments
 (0)