Skip to content

Commit

Permalink
[CI] Use local binary for bitcoin
Browse files Browse the repository at this point in the history
  • Loading branch information
bigspider committed Nov 7, 2024
1 parent 7449bda commit 2323d5d
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions tests/setup_script.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
#!/bin/bash

sudo apt update -y && sudo apt install -y curl
sudo apt update -y

cd /tmp
git clone --depth=1 https://github.com/achow101/bitcoin.git -b musig2
cd bitcoin
sudo apt-get install build-essential cmake pkg-config python3
sudo apt-get install libevent-dev libboost-dev
sudo apt install libsqlite3-dev
cmake -B build
cmake --build build
cmake --install build
sudo mkdir -p /bitcoin/bin
sudo unzip tests/bitcoin-with-musig.zip -d /bitcoin/bin

# Add bitcoin binaries to path
export PATH=/bitcoin/bin:$PATH

0 comments on commit 2323d5d

Please sign in to comment.