Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 5c876f3

Browse files
committed
ci: move all x86_64 runners to the host-x86_64 directory
We need to add runners designed for an aarch64 host system, and it'd be nice to return an error message if someone tries to run an image designed for an host architecture in another one. To start the work on this, this commit moves all the existing builders in the host-x86_64 directory, and changes the run.sh script to look up the image in the correct directory based on the host architecture.
1 parent cd1a46d commit 5c876f3

File tree

118 files changed

+74
-71
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+74
-71
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ jobs:
428428
os: windows-latest-xl
429429
- name: x86_64-msvc-tools
430430
env:
431-
SCRIPT: src/ci/docker/x86_64-gnu-tools/checktools.sh x.py /tmp/toolstate/toolstates.json windows
431+
SCRIPT: src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh x.py /tmp/toolstate/toolstates.json windows
432432
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --save-toolstates=/tmp/toolstate/toolstates.json"
433433
os: windows-latest-xl
434434
- name: i686-mingw-1

src/ci/azure-pipelines/auto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ jobs:
151151
NO_LLVM_ASSERTIONS: 1
152152
# MSVC tools tests
153153
x86_64-msvc-tools:
154-
SCRIPT: src/ci/docker/x86_64-gnu-tools/checktools.sh x.py
154+
SCRIPT: src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh x.py
155155
INITIAL_RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --save-toolstates=/tmp/toolstate/toolstates.json
156156

157157
# 32/64-bit MinGW builds.

src/ci/docker/README.md

Lines changed: 5 additions & 3 deletions

src/ci/docker/arm-android/Dockerfile renamed to src/ci/docker/host-x86_64/arm-android/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN dpkg --add-architecture i386 && \
2020

2121
COPY scripts/android-sdk.sh /scripts/
2222
COPY scripts/android-sdk-manager.py /scripts/
23-
COPY arm-android/android-sdk.lock /android/sdk/android-sdk.lock
23+
COPY host-x86_64/arm-android/android-sdk.lock /android/sdk/android-sdk.lock
2424
RUN /scripts/android-sdk.sh
2525

2626
ENV PATH=$PATH:/android/sdk/emulator

src/ci/docker/armhf-gnu/Dockerfile renamed to src/ci/docker/host-x86_64/armhf-gnu/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ WORKDIR /build
3131
# The `vexpress_config` config file was a previously generated config file for
3232
# the kernel. This file was generated by running `make vexpress_defconfig`
3333
# followed by `make menuconfig` and then enabling the IPv6 protocol page.
34-
COPY armhf-gnu/vexpress_config /build/.config
34+
COPY host-x86_64/armhf-gnu/vexpress_config /build/.config
3535
RUN curl https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.4.42.tar.xz | \
3636
tar xJf - && \
3737
cd /build/linux-4.4.42 && \

src/ci/docker/disabled/aarch64-gnu/Dockerfile renamed to src/ci/docker/host-x86_64/disabled/aarch64-gnu/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ WORKDIR /build
3131
# The `config` config file was a previously generated config file for
3232
# the kernel. This file was generated by running `make defconfig`
3333
# followed by `make menuconfig` and then enabling the IPv6 protocol page.
34-
COPY aarch64-gnu/config /build/.config
34+
COPY host-x86_64/aarch64-gnu/config /build/.config
3535
RUN curl https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.4.42.tar.xz | \
3636
tar xJf - && \
3737
cd /build/linux-4.4.42 && \

0 commit comments

Comments
 (0)