-
Notifications
You must be signed in to change notification settings - Fork 11
39 lines (31 loc) · 974 Bytes
/
build.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
name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Install latest nightly for i686-pc-windows-msvc
uses: actions-rs/toolchain@v1
with:
target: i686-pc-windows-msvc
toolchain: nightly
override: true
- name: Install latest nightly for x86_64-pc-windows-msvc
uses: actions-rs/toolchain@v1
with:
target: x86_64-pc-windows-msvc
toolchain: nightly
override: true
- name: Install Cap'n Proto
run: choco install capnproto
- name: Build burnt-sushi-blocker
run: cargo build --manifest-path=burnt-sushi-blocker/Cargo.toml --target i686-pc-windows-msvc
- name: Build burnt-sushi
run: cargo build --manifest-path=shared/Cargo.toml --target x86_64-pc-windows-msvc