7070 os : ubuntu-24.04
7171 - target : powerpc64le-unknown-linux-gnu
7272 os : ubuntu-24.04
73+ - target : powerpc64le-unknown-linux-gnu
74+ os : ubuntu-24.04-ppc64le
7375 - target : riscv64gc-unknown-linux-gnu
7476 os : ubuntu-24.04
77+ - target : s390x-unknown-linux-gnu
78+ os : ubuntu-24.04-s390x
7579 - target : thumbv6m-none-eabi
7680 os : ubuntu-24.04
7781 - target : thumbv7em-none-eabi
@@ -105,8 +109,21 @@ jobs:
105109 TEST_VERBATIM : ${{ matrix.test_verbatim }}
106110 MAY_SKIP_LIBM_CI : ${{ needs.calculate_vars.outputs.may_skip_libm_ci }}
107111 steps :
112+ - name : Print $HOME
113+ shell : bash
114+ run : |
115+ set -x
116+ echo "${HOME:-not found}"
117+ pwd
118+ printenv
108119 - name : Print runner information
109120 run : uname -a
121+
122+ # Native ppc and s390x runners don't have rustup by default
123+ - name : Install rustup
124+ if : matrix.os == 'ubuntu-24.04-ppc64le' || matrix.os == 'ubuntu-24.04-s390x'
125+ run : sudo apt-get update && sudo apt-get install -y rustup
126+
110127 - uses : actions/checkout@v4
111128 - name : Install Rust (rustup)
112129 shell : bash
@@ -117,7 +134,12 @@ jobs:
117134 rustup update "$channel" --no-self-update
118135 rustup default "$channel"
119136 rustup target add "${{ matrix.target }}"
137+
138+ # Our scripts use nextest if possible. This is skipped on the native ppc
139+ # and s390x runners since install-action doesn't support them.
120140 - uses : taiki-e/install-action@nextest
141+ if : " !(matrix.os == 'ubuntu-24.04-ppc64le' || matrix.os == 'ubuntu-24.04-s390x')"
142+
121143 - uses : Swatinem/rust-cache@v2
122144 with :
123145 key : ${{ matrix.target }}
0 commit comments