Skip to content

Commit 263173f

Browse files
committed
Remove build-no-std CI flag now that its always true
1 parent fb4f34c commit 263173f

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,41 +14,34 @@ jobs:
1414
1.48.0]
1515
include:
1616
- toolchain: stable
17-
build-no-std: true
1817
build-futures: true
1918
build-tx-sync: true
2019
coverage: true
2120
- toolchain: stable
2221
platform: macos-latest
23-
build-no-std: true
2422
build-futures: true
2523
build-tx-sync: true
2624
- toolchain: stable
2725
test-custom-message: true
2826
- toolchain: beta
2927
platform: macos-latest
30-
build-no-std: true
3128
build-futures: true
3229
build-tx-sync: true
3330
- toolchain: stable
3431
platform: windows-latest
35-
build-no-std: true
3632
build-futures: true
3733
build-tx-sync: false
3834
- toolchain: beta
3935
platform: windows-latest
40-
build-no-std: true
4136
build-futures: true
4237
build-tx-sync: false
4338
- toolchain: beta
44-
build-no-std: true
4539
build-futures: true
4640
build-tx-sync: true
4741
- toolchain: beta
4842
test-custom-message: true
4943
- toolchain: 1.48.0
5044
build-futures: true
51-
build-no-std: true
5245
build-tx-sync: false
5346
runs-on: ${{ matrix.platform }}
5447
steps:
@@ -131,7 +124,7 @@ jobs:
131124
if: matrix.coverage
132125
run: RUSTFLAGS="-C link-dead-code" cargo test --verbose --color always
133126
- name: Test no-std builds on Rust ${{ matrix.toolchain }}
134-
if: "matrix.build-no-std && !matrix.coverage"
127+
if: "!matrix.coverage"
135128
shell: bash # Default on Winblows is powershell
136129
run: |
137130
for DIR in lightning lightning-invoice lightning-rapid-gossip-sync; do
@@ -150,14 +143,14 @@ jobs:
150143
cd no-std-check
151144
cargo check --verbose --color always --features lightning-transaction-sync
152145
- 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'"
154147
run: |
155148
cd no-std-check
156149
rustup target add thumbv7m-none-eabi
157150
sudo apt-get -y install gcc-arm-none-eabi
158151
cargo build --target=thumbv7m-none-eabi
159152
- 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"
161154
run: |
162155
cd lightning
163156
RUSTFLAGS="-C link-dead-code" cargo test --verbose --color always --no-default-features --features no-std

0 commit comments

Comments
 (0)