-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (34 loc) · 863 Bytes
/
check-targets.yml
File metadata and controls
37 lines (34 loc) · 863 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
32
33
34
35
36
37
name: Check multiple targets
on:
pull_request:
types: [ labeled ]
env:
CARGO_TERM_COLOR: always
jobs:
check-targets:
if: ${{ github.event.label.name == 'ready-to-merge' }}
runs-on: ubuntu-latest
strategy:
matrix:
target:
- i686-pc-windows-gnu
- i686-pc-windows-msvc
- i686-unknown-linux-gnu
- x86_64-apple-darwin
- x86_64-pc-windows-gnu
- x86_64-pc-windows-msvc
- x86_64-unknown-linux-gnu
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: ${{ matrix.target }}
- name: Run cargo check
uses: actions-rs/cargo@v1
with:
command: check
args: --all --all-features