Skip to content

Commit

Permalink
Add basic Github workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
thebracket committed Jan 29, 2020
1 parent ed8ce92 commit 00565fc
Show file tree
Hide file tree
Showing 2 changed files with 987 additions and 988 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Rust

on: [push]

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Check benchmarks
run: cargo check --benches
- name: Check examples
if: matrix.os != 'windows-latest'
run: |
cargo check --all
Loading

0 comments on commit 00565fc

Please sign in to comment.