Add github actions CI

This commit is contained in:
Aviv Palivoda committed 2020-01-25 12:05:11 +02:00
1 parent 69830bb44d
commit f5531555f7
1 file changed
+24
+24
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