File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -14,41 +14,34 @@ jobs:
14
14
1.48.0]
15
15
include :
16
16
- toolchain : stable
17
- build-no-std : true
18
17
build-futures : true
19
18
build-tx-sync : true
20
19
coverage : true
21
20
- toolchain : stable
22
21
platform : macos-latest
23
- build-no-std : true
24
22
build-futures : true
25
23
build-tx-sync : true
26
24
- toolchain : stable
27
25
test-custom-message : true
28
26
- toolchain : beta
29
27
platform : macos-latest
30
- build-no-std : true
31
28
build-futures : true
32
29
build-tx-sync : true
33
30
- toolchain : stable
34
31
platform : windows-latest
35
- build-no-std : true
36
32
build-futures : true
37
33
build-tx-sync : false
38
34
- toolchain : beta
39
35
platform : windows-latest
40
- build-no-std : true
41
36
build-futures : true
42
37
build-tx-sync : false
43
38
- toolchain : beta
44
- build-no-std : true
45
39
build-futures : true
46
40
build-tx-sync : true
47
41
- toolchain : beta
48
42
test-custom-message : true
49
43
- toolchain : 1.48.0
50
44
build-futures : true
51
- build-no-std : true
52
45
build-tx-sync : false
53
46
runs-on : ${{ matrix.platform }}
54
47
steps :
@@ -131,7 +124,7 @@ jobs:
131
124
if : matrix.coverage
132
125
run : RUSTFLAGS="-C link-dead-code" cargo test --verbose --color always
133
126
- name : Test no-std builds on Rust ${{ matrix.toolchain }}
134
- if : " matrix.build-no-std && !matrix.coverage"
127
+ if : " !matrix.coverage"
135
128
shell : bash # Default on Winblows is powershell
136
129
run : |
137
130
for DIR in lightning lightning-invoice lightning-rapid-gossip-sync; do
@@ -150,14 +143,14 @@ jobs:
150
143
cd no-std-check
151
144
cargo check --verbose --color always --features lightning-transaction-sync
152
145
- name : Build no-std-check on Rust ${{ matrix.toolchain }} for ARM Embedded
153
- if : " matrix.build-no-std && matrix. platform == 'ubuntu-latest'"
146
+ if : " matrix.platform == 'ubuntu-latest'"
154
147
run : |
155
148
cd no-std-check
156
149
rustup target add thumbv7m-none-eabi
157
150
sudo apt-get -y install gcc-arm-none-eabi
158
151
cargo build --target=thumbv7m-none-eabi
159
152
- name : Test on no-std builds Rust ${{ matrix.toolchain }} and full code-linking for coverage generation
160
- if : " matrix.build-no-std && matrix. coverage"
153
+ if : " matrix.coverage"
161
154
run : |
162
155
cd lightning
163
156
RUSTFLAGS="-C link-dead-code" cargo test --verbose --color always --no-default-features --features no-std
You can’t perform that action at this time.
0 commit comments