-
Notifications
You must be signed in to change notification settings - Fork 4
31 lines (31 loc) · 839 Bytes
/
build.yml
File metadata and controls
31 lines (31 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
TFB_HOME: ./test
RUST_BACKTRACE: full
CLICOLOR_FORCE: 1
jobs:
build:
strategy:
matrix:
os: [ubuntu-18.04, ubuntu-20.04, windows-2019, macos-11.0]
# "The Rust team appreciates testing against the beta and
# nightly channels, even if you are only targeting stable."
toolchain: [stable, nightly]
fail-fast: false
continue-on-error: ${{ matrix.toolchain == 'nightly' }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
override: true
- name: Run the tests
run: cargo test -- --nocapture