Skip to content

Test with --all-features; #13

Test with --all-features;

Test with --all-features; #13

name: Build and test workflow
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
release:
types: [ created ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- name: Install acl-deps
if: matrix.os == 'ubuntu-20.04'
run: sudo apt-get install acl-dev
- name: Set up Rust
if: matrix.os == 'windows-latest'
run: rustup toolchain install nightly && rustup default nightly && rustup component add clippy
- name: Build
run: cargo clippy --verbose --all-features
- name: Run tests
run: cargo test --verbose --all-features