-
-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (49 loc) · 1.32 KB
/
Copy pathwindows.yml
File metadata and controls
53 lines (49 loc) · 1.32 KB
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
name: Windows
on:
push:
branches: [ "main", "dev" ]
pull_request:
branches: [ "main", "dev" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: windows-latest
steps:
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Checkout Stonenet
uses: actions/checkout@v3
- name: Build (debug)
uses: actions-rs/cargo@v1
with:
command: build
- name: Run tests (debug)
uses: actions-rs/cargo@v1
with:
command: test
- name: Build (release)
uses: actions-rs/cargo@v1
with:
command: build
args: --release
- name: Run tests (release)
uses: actions-rs/cargo@v1
with:
command: test
args: --release
- name: Run tests for desktop client (debug)
uses: actions-rs/cargo@v1
with:
command: test
args: -p stonenet-desktop
# Browser-Window compilation on Windows is broken for the commit that is pinned in stonenet-desktop
continue-on-error: true
- name: Run tests for desktop client (release)
uses: actions-rs/cargo@v1
with:
command: test
args: -p stonenet-desktop --release
continue-on-error: true