Skip to content

Merge pull request #146 from anil9/master #77

Merge pull request #146 from anil9/master

Merge pull request #146 from anil9/master #77

Workflow file for this run

name: Build
on: push
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
rust: [stable]
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- name: Setup Rust
uses: hecrj/setup-rust-action@master
with:
rust-version: ${{ matrix.rust }}
components: rustfmt, clippy
- name: Installing LibClang on Windows
shell: pwsh
if: matrix.os == 'windows-latest'
run: choco install -y llvm
- name: Checkout
uses: actions/checkout@v1
- name: Build the crate
run: cargo build --release
- name: Run tests
if: matrix.os != 'windows-latest'
run: cargo test --verbose