name: Cross build
on:
push:
branches:
pull_request:
branches:
jobs:
cross_build:
strategy:
matrix:
os:
- ubuntu-latest
# windows builds fail as long as clap is still used, windows builds will resume when a parser other than clap is used on other platforms - windows-latest
- macOS-latest
runs-on: ${{ matrix.os }}
steps:
- name: Setup | Rust
uses: ATiltedTree/setup-rust@v1
with:
rust-version: stable
components: clippy
- name: Setup | Checkout
uses: actions/checkout@v2
- name: Test
run: cargo test