Github Workflow (#206)

This commit is contained in:
Timon 2019-09-12 21:33:33 +02:00 committed by GitHub
parent 1de4555ec7
commit 6a33566aa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

25
.github/workflows/crossterm_test.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: Crossterm Test
on:
push:
branches:
- master
jobs:
linux_mac:
name: Running on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-2019, macOS-10.14]
rust: [stable, nightly]
steps:
- uses: hecrj/setup-rust-action@master
with:
rust-version: ${{ matrix.rust }}
- uses: actions/checkout@master
- name: Run Build
run: cargo build
- name: Check Examples
run: cargo check --examples
- name: Run Tests
run: cargo test -v