30 lines
762 B
YAML
30 lines
762 B
YAML
name: build
|
|
|
|
on: [ push, pull_request ]
|
|
|
|
jobs:
|
|
default:
|
|
name: Default
|
|
strategy:
|
|
matrix:
|
|
platform: [ ubuntu-latest, macos-latest, windows-latest ]
|
|
toolchain: [ stable, 1.46.0, nightly ]
|
|
features:
|
|
- compress,alloc
|
|
- compress,decompress
|
|
- compress,decompress,std
|
|
fail-fast: false
|
|
runs-on: ${{ matrix.platform }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: recursive
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: ${{ matrix.toolchain }}
|
|
override: true
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
command: test
|
|
args: --release --no-default-features --features ${{ matrix.features }}
|