Skip to content

fix(github): try to update github ci #131

fix(github): try to update github ci

fix(github): try to update github ci #131

Workflow file for this run

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@v4
- uses: dtolnay/rust-toolchain@stable
with:
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
- name: Test minimal
if: ${{ matrix.rust != "1.56.0" }}

Check failure on line 39 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / CI tests

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 39, Col: 13): Unexpected symbol: '"1'. Located at position 17 within expression: matrix.rust != "1.56.0"
run: cargo test
wasm:
name: WebAssembly
runs-on: ubuntu-latest
strategy:
matrix:
target: [wasm32-unknown-unknown, wasm32-wasi]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
targets: ${{ matrix.target }}
- run: cargo build -p miniz_oxide --target ${{ matrix.target }}