name: Build
on:
push:
branches:
- master
- feature/*
pull_request:
branches:
- master
- feature/*
env:
CARGO_TERM_COLOR: always
jobs:
linux-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --workspace --verbose
- name: Run tests
run: cargo test --workspace --verbose
windows-build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --workspace --verbose
- name: Run tests
run: cargo test --workspace --verbose
macos-build:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --workspace --verbose
- name: Run tests
run: cargo test --workspace --verbose