comparison .github/workflows/rust.yml @ 5:27456533853e

Attempt to setup CI using GitHub Actions This sets up CI to test the crate on Ubuntu, Windows and macOS. It's expected to fail on Windows now and it will be fixed after we know which things need to be configured-away.
author Martin Habovštiak <martin.habovstiak@gmail.com>
date Fri, 27 Nov 2020 15:18:25 +0100
parents
children fbb9e1206e3c
comparison
equal deleted inserted replaced
4:66c0e10c89fc 5:27456533853e
1 name: Rust
2
3 on:
4 push:
5 branches: [ master ]
6 pull_request:
7 branches: [ master ]
8 workflow_dispatch:
9
10 env:
11 CARGO_TERM_COLOR: always
12
13 jobs:
14 build:
15
16 runs-on: ${{ matrix.os }}
17 strategy:
18 matrix:
19 os: [ubuntu-latest, windows-latest, macOS-latest]
20
21 steps:
22 - uses: actions/checkout@v2
23 - name: Build
24 run: cargo build --verbose
25 - name: Run tests
26 run: cargo test --all-features --verbose