fix(inflate): use inputwrapper struct instead of iter to simplify inp… #129
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: CI tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
build: [stable, nightly, 1.56.0, macos, windows, mingw] | |
include: | |
- build: stable | |
os: ubuntu-latest | |
rust: stable | |
- build: nightly | |
os: ubuntu-latest | |
rust: nightly | |
- build: 1.56.0 | |
os: ubuntu-latest | |
rust: 1.56.0 | |
- build: macos | |
os: macos-latest | |
rust: stable | |
- build: windows | |
os: windows-latest | |
rust: stable | |
- build: mingw | |
os: windows-latest | |
rust: stable-x86_64-gnu | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
override: true | |
toolchain: ${{ matrix.rust }} | |
- run: cargo test --manifest-path ./miniz_oxide/Cargo.toml | |
- run: cargo test --manifest-path ./miniz_oxide/Cargo.toml --features simd | |
- run: cargo test --manifest-path ./miniz_oxide/Cargo.toml --no-default-features | |
- run: cargo build --manifest-path ./miniz_oxide/Cargo.toml --no-default-features | |
- run: cargo test | |
# rustfmt: | |
# name: Rustfmt | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - uses: actions-rs/toolchain@v1 | |
# with: | |
# profile: minimal | |
# components: rustfmt # seems to not work? | |
# toolchain: stable | |
# - run: rustup toolchain install stable --component rustfmt | |
# - run: cargo fmt -p miniz_oxide -- --check | |
wasm: | |
name: WebAssembly | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
target: [wasm32-unknown-unknown, wasm32-wasi] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
target: ${{ matrix.target }} | |
- run: cargo build -p miniz_oxide --target ${{ matrix.target }} |