fix(archs): don't call next_multiple_of
if largest
is 0
#295
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: Build & check formatting | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
rust: | |
- stable | |
include: | |
- os: ubuntu-latest | |
rust: 1.63.0 | |
- os: ubuntu-latest | |
rust: nightly | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
cargo build --release | |
check-rustfmt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
cargo fmt --check | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
cargo test |