Skip to content

Commit

Permalink
try use powerpc-unknown-linux-gnu instead of mips
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesvollmer committed Sep 20, 2023
1 parent c7c089a commit 58e4ec4
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
ubuntu:
runs-on: ubuntu-latest
name: ubuntu
name: test on ubuntu
timeout-minutes: 30

steps:
Expand All @@ -24,7 +24,7 @@ jobs:

macos:
runs-on: macos-latest
name: mac os
name: test on mac os
timeout-minutes: 30

steps:
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 58e4ec4

Please sign in to comment.