File tree 1 file changed +12
-3
lines changed
1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 6
6
build :
7
7
strategy :
8
8
matrix :
9
+ platform : [ ubuntu-latest ]
9
10
toolchain : [ stable,
10
11
beta,
11
12
# 1.30.0 is MSRV for Rust-Lightning
@@ -17,12 +18,18 @@ jobs:
17
18
include :
18
19
- toolchain : stable
19
20
build-net-tokio : true
21
+ - toolchain : stable
22
+ platform : macos-latest
23
+ build-net-tokio : true
24
+ - toolchain : stable
25
+ platform : windows-latest
26
+ build-net-tokio : true
20
27
- toolchain : beta
21
28
build-net-tokio : true
22
29
- toolchain : 1.39.0
23
30
build-net-tokio : true
24
31
coverage : true
25
- runs-on : ubuntu-latest
32
+ runs-on : ${{ matrix.platform }}
26
33
steps :
27
34
- name : Checkout source code
28
35
uses : actions/checkout@v2
33
40
override : true
34
41
profile : minimal
35
42
- name : Build on Rust ${{ matrix.toolchain }} with net-tokio
36
- if : " matrix.build-net-tokio && matrix.toolchain != '1.39.0'"
43
+ if : " matrix.build-net-tokio && matrix.toolchain != '1.39.0'
44
+ || matrix.platform == 'macos-latest' || matrix.platform == 'windows-latest'"
37
45
run : cargo build --verbose --color always
38
46
- name : Build on Rust ${{ matrix.toolchain }} with net-tokio and full code-linking for coverage generation
39
47
if : " matrix.toolchain == '1.39.0'"
42
50
if : " ! matrix.build-net-tokio"
43
51
run : RUSTFLAGS="-C link-dead-code" cargo build --verbose --color always -p lightning
44
52
- name : Test on Rust ${{ matrix.toolchain }} with net-tokio
45
- if : " matrix.build-net-tokio && matrix.toolchain != '1.39.0'"
53
+ if : " matrix.build-net-tokio && matrix.toolchain != '1.39.0'
54
+ || matrix.platform == 'macos-latest' || matrix.platform == 'windows-latest'"
46
55
run : cargo test --verbose --color always
47
56
- name : Test on Rust ${{ matrix.toolchain }} with net-tokio and full code-linking for coverage generation
48
57
if : " matrix.toolchain == '1.39.0'"
You can’t perform that action at this time.
0 commit comments