Fix formatting #281
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
name: Rust | |
on: | |
push: | |
branches: [ "main" , "develop" ] | |
pull_request: | |
branches: [ "main", "develop" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build-and-test-x64: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run tests | |
run: cargo test --workspace --release --verbose | |
- name: Run no_std tests | |
run: cargo test --workspace --release --verbose --no-default-features --features random,serde | |
build-and-test-x32: | |
runs-on: ubuntu-latest | |
env: | |
DEP_GMP_LIMB_BITS: 32 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install -y gcc-multilib g++-multilib | |
- name: Add 32 bit toolchain | |
run: rustup toolchain install stable-i686-unknown-linux-gnu && rustup default stable-i686-unknown-linux-gnu | |
- name: Run tests | |
run: cargo test --workspace --release --verbose | |
- name: Run no_std tests | |
run: cargo test --workspace --release --verbose --no-default-features --features random,serde |