From a48c77ccc45bd82129ccf13d64290005cbdaa0bb Mon Sep 17 00:00:00 2001 From: Jonathan Behrens Date: Wed, 14 Aug 2024 15:17:15 -0700 Subject: [PATCH 1/2] Actually check test results during cross compile --- .github/workflows/rust.yml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 442ceb1..c846764 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -43,7 +43,7 @@ jobs: # note: you can also use this approach to test for big endian locally. runs-on: ubuntu-latest - # we are using the cross project for cross compilation to mips: + # we are using the cross project for cross compilation: # https://github.com/cross-rs/cross steps: - uses: actions/checkout@v4 @@ -61,19 +61,8 @@ jobs: - name: Start Docker (required for cross-rs) run: sudo systemctl start docker - - name: Cross-Compile project to powerpc-unknown-linux-gnu - run: | - cross build --target=powerpc-unknown-linux-gnu --verbose -v --no-default-features --features "$FEATURES" - env: - FEATURES: ${{ matrix.features }} - - # https://github.com/cross-rs/cross#supported-targets - name: Cross-Run Tests in powerpc-unknown-linux-gnu using Qemu - continue-on-error: true - run: | - cross test --target powerpc-unknown-linux-gnu --verbose -v --no-default-features --features "$FEATURES" - env: - FEATURES: ${{ matrix.features }} + run: cross test --target powerpc-unknown-linux-gnu --verbose -v clippy: runs-on: ubuntu-latest From b4696bba1b48a04d64e46daca1f1f10754d061c2 Mon Sep 17 00:00:00 2001 From: Jonathan Behrens Date: Wed, 14 Aug 2024 15:18:32 -0700 Subject: [PATCH 2/2] typo --- .github/workflows/rust.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c846764..45dda37 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -39,7 +39,7 @@ jobs: test_big_endian: # github actions does not support big endian systems directly, but it does support QEMU. - # so we install qemu, then build and run the tests in an emulated mips system. + # so we install qemu, then build and run the tests in an emulated powerpc system. # note: you can also use this approach to test for big endian locally. runs-on: ubuntu-latest