fix(adler32): Prevent s1 accumulation integer overflow panics in x86 … #407
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [ "master", "main" ] | |
| pull_request: | |
| branches: [ "master", "main" ] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| test: | |
| name: ${{ matrix.name }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - name: windows x64 | |
| os: windows-latest | |
| target: x86_64-pc-windows-msvc | |
| triplet: x64-windows | |
| - name: windows arm64 | |
| os: windows-11-arm | |
| target: aarch64-pc-windows-msvc | |
| triplet: arm64-windows | |
| - name: ubuntu x64 | |
| os: ubuntu-latest | |
| target: x86_64-unknown-linux-gnu | |
| triplet: x86_64-unknown-linux-gnu | |
| - name: ubuntu arm64 | |
| os: ubuntu-24.04-arm | |
| target: aarch64-unknown-linux-gnu | |
| triplet: aarch64-unknown-linux-gnu | |
| - name: mac os arm | |
| os: macos-latest | |
| target: aarch64-apple-darwin | |
| triplet: aarch64-apple-darwin | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Rust | |
| uses: dtolnay/rust-toolchain@nightly | |
| with: | |
| targets: ${{ matrix.target }} | |
| - name: Rust Cache | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Build | |
| run: cargo build --verbose | |
| - name: Run tests | |
| run: cargo test --verbose |