Skip to content

Commit 2286d5e

Browse files
committed
windows support
1 parent 39a0bff commit 2286d5e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
feature: "22_0"
2424
- os: "macos-11"
2525
feature: "23_0"
26+
- os: "windows-2019"
27+
feature: "23_0"
2628

2729
steps:
2830
- run: df -h

build.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ fn download_filename() -> String {
4141
format!("bitcoin-{}-aarch64-linux-gnu.tar.gz", &VERSION)
4242
}
4343

44+
#[cfg(all(target_os = "windows", target_arch = "x86_64"))]
45+
fn download_filename() -> String {
46+
format!("bitcoin-{}-win64-unsigned.tar.gz", &VERSION)
47+
}
48+
4449
fn get_expected_sha256(filename: &str) -> sha256::Hash {
4550
let sha256sums_filename = format!("sha256/bitcoin-core-{}-SHA256SUMS", &VERSION);
4651
#[cfg(any(

0 commit comments

Comments
 (0)