Skip to content

Merge pull request #6 from mono606/remove-gui #25

Merge pull request #6 from mono606/remove-gui

Merge pull request #6 from mono606/remove-gui #25

Workflow file for this run

name: Build and test
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build_ubuntu_x86-64:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --workspace --all-features --verbose
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Run all tests
run: cargo test --workspace --verbose
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: rustup component add clippy
- name: Check formatting
run: cargo fmt -- --check
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-targets