Skip to content

Commit e58165e

Browse files
Run check-mode UI tests in CI against big endian target
This validates that 64bit.be.stderr files are up to date; we don't run 32 bit big endian in CI as of this commit.
1 parent b18a2eb commit e58165e

File tree

6 files changed

+799
-0
lines changed

6 files changed

+799
-0
lines changed

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,9 @@ jobs:
262262
- name: test-various
263263
os: ubuntu-20.04-xl
264264
env: {}
265+
- name: test-big-endian
266+
os: ubuntu-20.04-xl
267+
env: {}
265268
- name: wasm32
266269
os: ubuntu-20.04-xl
267270
env: {}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
FROM ubuntu:20.04
2+
3+
COPY scripts/cross-apt-packages.sh /scripts/
4+
RUN sh /scripts/cross-apt-packages.sh
5+
6+
COPY scripts/crosstool-ng-1.24.sh /scripts/
7+
RUN sh /scripts/crosstool-ng-1.24.sh
8+
9+
COPY scripts/rustbuild-setup.sh /scripts/
10+
RUN sh /scripts/rustbuild-setup.sh
11+
USER rustbuild
12+
WORKDIR /tmp
13+
14+
COPY host-x86_64/dist-powerpc64-linux/shared.sh host-x86_64/dist-powerpc64-linux/powerpc64-linux-gnu.config host-x86_64/dist-powerpc64-linux/build-powerpc64-toolchain.sh /tmp/
15+
RUN ./build-powerpc64-toolchain.sh
16+
17+
USER root
18+
19+
COPY scripts/sccache.sh /scripts/
20+
RUN sh /scripts/sccache.sh
21+
22+
ENV PATH=$PATH:/x-tools/powerpc64-unknown-linux-gnu/bin
23+
24+
ENV \
25+
AR_powerpc64_unknown_linux_gnu=powerpc64-unknown-linux-gnu-ar \
26+
CC_powerpc64_unknown_linux_gnu=powerpc64-unknown-linux-gnu-gcc \
27+
CXX_powerpc64_unknown_linux_gnu=powerpc64-unknown-linux-gnu-g++
28+
29+
ENV RUST_CONFIGURE_ARGS --enable-extended --disable-docs
30+
ENV SCRIPT python3 ../x.py test --target powerpc64-unknown-linux-gnu src/test/ui --pass check --test-args --run=never
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/env bash
2+
set -ex
3+
4+
source shared.sh
5+
6+
mkdir build
7+
cd build
8+
cp ../powerpc64-linux-gnu.config .config
9+
hide_output ct-ng build
10+
cd ..
11+
rm -rf build

0 commit comments

Comments
 (0)