-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] Compile bitcoin from source (slow\!)
- Loading branch information
Showing
2 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
#!/bin/bash | ||
|
||
sudo apt update -y && sudo apt install -y curl | ||
curl -o /tmp/bitcoin.tar.gz https://bitcoincore.org/bin/bitcoin-core-26.0/bitcoin-26.0-x86_64-linux-gnu.tar.gz && \ | ||
sudo tar -xf /tmp/bitcoin.tar.gz -C / && \ | ||
sudo mv /bitcoin-26.0 /bitcoin | ||
|
||
# Add bitcoin binaries to path | ||
export PATH=/bitcoin/bin:$PATH | ||
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 |