Fix compilation on big-endian targets #79
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 | |
- name: Check (big-endian) | |
run: | | |
rustup target add powerpc64-unknown-linux-gnu | |
cargo check --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 | |