Github Workflow (#206)
This commit is contained in:
parent
1de4555ec7
commit
6a33566aa6
25
.github/workflows/crossterm_test.yml
vendored
Normal file
25
.github/workflows/crossterm_test.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user