forked from helgoboss/helgobox
-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (52 loc) · 1.18 KB
/
windows-x86_64.yml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
# For quickly detecting important differences in runner configurations
schedule:
- cron: '0 5 * * MON'
name: Windows x86_64
jobs:
check:
name: Check
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.61.0
override: true
- run: rustup component add rustfmt
- name: cargo check
uses: actions-rs/cargo@v1
with:
command: check
test:
name: Test
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.61.0
override: true
- run: rustup component add rustfmt
- name: cargo build
uses: actions-rs/cargo@v1
with:
command: build
- name: cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: -- --nocapture