From 58e4ec4873dc140297d250eff182151efecd41ac Mon Sep 17 00:00:00 2001 From: Johannes Vollmer <32042925+johannesvollmer@users.noreply.github.com> Date: Wed, 20 Sep 2023 09:29:17 +0200 Subject: [PATCH] try use powerpc-unknown-linux-gnu instead of mips --- .github/workflows/rust.yml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b0a6388..ef5fe85 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -9,7 +9,7 @@ on: jobs: ubuntu: runs-on: ubuntu-latest - name: ubuntu + name: test on ubuntu timeout-minutes: 30 steps: @@ -24,7 +24,7 @@ jobs: macos: runs-on: macos-latest - name: mac os + name: test on mac os timeout-minutes: 30 steps: @@ -61,7 +61,7 @@ jobs: # see https://github.com/wasm3/wasm3/blob/main/.github/workflows/tests.yml#L318 mips: runs-on: ubuntu-20.04 - name: emulated big endian mips system + name: test on emulated big endian system timeout-minutes: 90 # todo just make tests faster wtf # we are using the cross project for cross compilation to mips: @@ -81,20 +81,16 @@ jobs: - name: Start Docker run: sudo systemctl start docker - - name: Cross-Compile project to mips-unknown-linux-gnu - run: | - rm -f Cargo.lock - cargo clean - cargo update - cross build --target mips-unknown-linux-gnu --verbose + - name: Cross-Compile project to powerpc-unknown-linux-gnu + run: cross build --target powerpc-unknown-linux-gnu --verbose # https://github.com/cross-rs/cross#supported-targets - - name: Cross-Run Tests in mips-unknown-linux-gnu using Qemu - run: cross test --target mips-unknown-linux-gnu --verbose + - name: Cross-Run Tests in powerpc-unknown-linux-gnu using Qemu + run: cross test --target powerpc-unknown-linux-gnu --verbose wasm32: runs-on: ubuntu-latest - name: wasm32 + name: test on wasm32 timeout-minutes: 60 steps: