From 261d7d6a94ea7a996dd6a0a576230f042811a129 Mon Sep 17 00:00:00 2001 From: Salvatore Ingala <6681844+bigspider@users.noreply.github.com> Date: Thu, 7 Nov 2024 10:15:28 +0000 Subject: [PATCH] [CI] Use local bitcoin for tests --- tests/setup_script.sh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/tests/setup_script.sh b/tests/setup_script.sh index 12278dae2..42d9c9d9a 100755 --- a/tests/setup_script.sh +++ b/tests/setup_script.sh @@ -1,9 +1,12 @@ #!/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 +sudo apt update -y + +sudo apt-get install libevent-dev libboost-dev +sudo apt install libsqlite3-dev + +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 +export PATH=/bitcoin/bin:$PATH \ No newline at end of file