Skip to content

Merge pull request #10 from SpontanCombust:dev #52

Merge pull request #10 from SpontanCombust:dev

Merge pull request #10 from SpontanCombust:dev #52

Workflow file for this run

name: check-build
on:
push:
branches: '*'
pull_request:
branches: '*'
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
matrix:
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
- os: windows-latest
target: x86_64-pc-windows-msvc
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Rust stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: ${{ matrix.target }}
override: true
- name: Build with Cargo
uses: actions-rs/cargo@v1
with:
command: build
args: --release --target ${{ matrix.target }}
- name: Run tests
run: cargo test --verbose