70
70
os : ubuntu-24.04
71
71
- target : powerpc64le-unknown-linux-gnu
72
72
os : ubuntu-24.04
73
+ - target : powerpc64le-unknown-linux-gnu
74
+ os : ubuntu-24.04-ppc64le
73
75
- target : riscv64gc-unknown-linux-gnu
74
76
os : ubuntu-24.04
77
+ - target : s390x-unknown-linux-gnu
78
+ os : ubuntu-24.04-s390x
75
79
- target : thumbv6m-none-eabi
76
80
os : ubuntu-24.04
77
81
- target : thumbv7em-none-eabi
@@ -105,8 +109,21 @@ jobs:
105
109
TEST_VERBATIM : ${{ matrix.test_verbatim }}
106
110
MAY_SKIP_LIBM_CI : ${{ needs.calculate_vars.outputs.may_skip_libm_ci }}
107
111
steps :
112
+ - name : Print $HOME
113
+ shell : bash
114
+ run : |
115
+ set -x
116
+ echo "${HOME:-not found}"
117
+ pwd
118
+ printenv
108
119
- name : Print runner information
109
120
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
+
110
127
- uses : actions/checkout@v4
111
128
- name : Install Rust (rustup)
112
129
shell : bash
@@ -117,7 +134,12 @@ jobs:
117
134
rustup update "$channel" --no-self-update
118
135
rustup default "$channel"
119
136
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.
120
140
- uses : taiki-e/install-action@nextest
141
+ if : " !(matrix.os == 'ubuntu-24.04-ppc64le' || matrix.os == 'ubuntu-24.04-s390x')"
142
+
121
143
- uses : Swatinem/rust-cache@v2
122
144
with :
123
145
key : ${{ matrix.target }}
0 commit comments