From f5531555f767fe79e0cff1051436ea25599e31b8 Mon Sep 17 00:00:00 2001 From: Aviv Palivoda Date: Sat, 25 Jan 2020 10:46:45 +0200 Subject: [PATCH] Add github actions CI --- .github/workflows/ci.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 000000000..5f6fdee04 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -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 \ No newline at end of file