Add github actions CI

This commit is contained in:
Aviv Palivoda
2020-01-25 10:46:45 +02:00
parent 69830bb44d
commit f5531555f7

24
.github/workflows/ci.yaml vendored Normal file
View File

@@ -0,0 +1,24 @@
on: [push]
name: CI
jobs:
rust_tests:
name: Run Rust tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["macos-latest", "ubuntu-latest", "windows-latest"]
fail-fast: false
steps:
- uses: actions/checkout@master
- run: powershell.exe scripts/symlinks-to-hardlinks.ps1
if: matrix.os == 'windows-latest'
- uses: actions-rs/cargo@v1
with:
command: build
args: --verbose --all
- uses: actions-rs/cargo@v1
with:
command: test
args: --verbose --all