Skip to content

Commit 995433e

Browse files
committed
Prebuild Rust library
1 parent 8e30109 commit 995433e

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ jobs:
241241

242242
node-windows:
243243
runs-on: windows-latest
244-
# environment: release # This step needs to use the release context to access credentials for code signing.
244+
environment: release # This step needs to use the release context to access credentials for code signing.
245245
needs: [validate-preconditions]
246246
if: contains(fromJSON('["rc", "alpha", "node-windows"]'), needs.validate-preconditions.outputs.release_type)
247247
defaults:

scripts/distribution/windows/build-all.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ Write-Output "protoc version: $(protoc --version)"
88
# Override the rust toolchain so that consensus rust dependencies use it.
99
rustup override set $rustVersion-x86_64-pc-windows-gnu
1010

11+
# Sometimes it causes errors to build the Rust library indirectly
12+
# via the Haskell concordium-consensus. Hence, we start by building it directly.
13+
Write-Output "Prebuilding node Rust library..."
1114
Push-Location plt
15+
rustup show active-toolchain
1216
cargo build --release --locked -p node-rust-library
1317
Pop-Location
1418

0 commit comments

Comments
 (0)