Skip to content

removed release related stuff (should be handled by binary crates) #21

removed release related stuff (should be handled by binary crates)

removed release related stuff (should be handled by binary crates) #21

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
- name: Run tests
run: cargo test --verbose