Skip to content

Commit e73d029

Browse files
committed
Specify emulated CPUs
1 parent 49e92a2 commit e73d029

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ jobs:
187187
target_feature: [default]
188188
include:
189189
- { target: powerpc-unknown-linux-gnu, target_feature: "+altivec" }
190-
- { target: powerpc64-unknown-linux-gnu, target_feature: "+vsx" }
191-
- { target: powerpc64le-unknown-linux-gnu, target_feature: "+vsx" }
190+
- { target: powerpc64-unknown-linux-gnu, target_feature: "+power10-vector" }
191+
- { target: powerpc64le-unknown-linux-gnu, target_feature: "+power10-vector" }
192192
# We should test this, but cross currently can't run it
193193
# - { target: riscv64gc-unknown-linux-gnu, target_feature: "+v,+zvl128b" }
194194

@@ -212,6 +212,12 @@ jobs:
212212
curl -sfSL --retry-delay 10 --retry 5 "${CROSS_URL}" | tar zxf - -C "$HOME/.bin"
213213
echo "$HOME/.bin" >> $GITHUB_PATH
214214
215+
- name: Configure Emulated CPUs
216+
run: |
217+
echo "CARGO_TARGET_POWERPC_UNKNOWN_LINUX_GNU_RUNNER=qemu-ppc -cpu e600" >> $GITHUB_ENV
218+
echo "CARGO_TARGET_POWERPC64_UNKNOWN_LINUX_GNU_RUNNER=qemu-ppc64 -cpu power10" >> $GITHUB_ENV
219+
echo "CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_RUNNER=qemu-riscv64 -cpu rv64,zba=true,zbb=true,v=true,vlen=256,vext_spec=v1.0" >> $GITHUB_ENV
220+
215221
- name: Configure RUSTFLAGS
216222
shell: bash
217223
run: |

0 commit comments

Comments
 (0)