Skip to content

Commit

Permalink
ci: Cross tests - run numer as release, use s390x
Browse files Browse the repository at this point in the history
Somehow, these take 30m on powerpc, which is too slow (much slower than
anything else.)

Try to use s390x instead and run numeric tests in release mode.
  • Loading branch information
bluss committed Mar 9, 2024
1 parent 909ec76 commit 1af7519
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,12 @@ jobs:
- run: ./scripts/all-tests.sh "$FEATURES" ${{ matrix.rust }}

cross_test:
if: ${{ github.event_name == 'merge_group' }}
runs-on: ubuntu-latest
strategy:
matrix:
include:
- rust: stable
target: powerpc-unknown-linux-gnu
target: s390x-unknown-linux-gnu
- rust: stable
target: i686-unknown-linux-gnu

Expand Down
2 changes: 1 addition & 1 deletion scripts/cross-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ cross build -v --features="$FEATURES" --target=$TARGET
cross test -v --no-fail-fast --features="$FEATURES" --target=$TARGET
cross test -v --no-fail-fast --target=$TARGET --manifest-path=ndarray-rand/Cargo.toml --features quickcheck
cross test -v --no-fail-fast --target=$TARGET --manifest-path=xtest-serialization/Cargo.toml --verbose
cross test -v --no-fail-fast --target=$TARGET --manifest-path=xtest-numeric/Cargo.toml
cross test -v --no-fail-fast --target=$TARGET --manifest-path=xtest-numeric/Cargo.toml --release

0 comments on commit 1af7519

Please sign in to comment.