David LeGare | 57dccb5 | 2022-03-01 18:55:00 +0000 | [diff] [blame] | 1 | name: Rust |
2 | |||||
3 | on: | ||||
4 | push: | ||||
5 | branches: [ master ] | ||||
6 | pull_request: | ||||
7 | branches: [ master ] | ||||
8 | |||||
9 | env: | ||||
10 | CARGO_TERM_COLOR: always | ||||
11 | |||||
12 | jobs: | ||||
13 | build: | ||||
14 | strategy: | ||||
15 | matrix: | ||||
16 | rust: [1.40.0, stable, beta, nightly] | ||||
17 | env: | ||||
18 | CARGO_INCREMENTAL: 0 # Incremental compilation is slower and bloats the cache | ||||
19 | RUST_BACKTRACE: 1 | ||||
20 | |||||
21 | runs-on: ubuntu-latest | ||||
22 | |||||
23 | steps: | ||||
24 | - uses: actions/checkout@v2 | ||||
25 | - name: Build | ||||
26 | run: cargo build | ||||
27 | - name: Run tests | ||||
28 | run: ./ci.sh |