Run tests on a big-endian system using miri #74
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: CI | |
jobs: | |
test: | |
name: test | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
env: | |
RUSTFLAGS: -Dwarnings | |
RUST_BACKTRACE: full | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Clippy | |
run: | | |
cargo clippy -- -Dwarnings | |
- name: Test | |
run: | | |
cargo test | |
test_big_endian: | |
name: test (big-endian) | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
env: | |
RUST_BACKTRACE: full | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install miri | |
run: | | |
rustup override set nightly | |
rustup component add miri | |
- name: Test | |
run: | | |
cargo miri test --target powerpc64-unknown-linux-gnu | |
fmt: | |
name: rustfmt | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install rustfmt | |
run: | | |
rustup component add rustfmt | |
- name: Rustfmt | |
run: | | |
cargo fmt --check | |