From 6fe63956785adfe1f4ab6b6e9180d994c5657585 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Fri, 16 Dec 2022 14:39:27 +0100 Subject: [PATCH] ci: Add bitcoind to integration test job --- .github/workflows/ci.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ae6b501ea..4da4d5b6d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -158,6 +158,8 @@ jobs: runs-on: ubuntu-20.04 env: COMPAT: 1 + BITCOIN_VERSION: 0.20.1 + ELEMENTS_VERSION: 0.18.1.8 needs: - compile strategy: @@ -204,6 +206,22 @@ jobs: pip3 install --user pip wheel poetry poetry install + - name: Install bitcoind + run: | + ( + cd /tmp/ + wget https://storage.googleapis.com/c-lightning-tests/bitcoin-$BITCOIN_VERSION-x86_64-linux-gnu.tar.bz2 + wget -q https://storage.googleapis.com/c-lightning-tests/elements-$ELEMENTS_VERSION-x86_64-linux-gnu.tar.bz2 + tar -xjf bitcoin-$BITCOIN_VERSION-x86_64-linux-gnu.tar.bz2 + tar -xjf elements-$ELEMENTS_VERSION-x86_64-linux-gnu.tar.bz2 + sudo mv bitcoin-$BITCOIN_VERSION/bin/* /usr/local/bin + sudo mv elements-$ELEMENTS_VERSION/bin/* /usr/local/bin + rm -rf \ + bitcoin-$BITCOIN_VERSION-x86_64-linux-gnu.tar.gz \ + bitcoin-$BITCOIN_VERSION \ + elements-$ELEMENTS_VERSION-x86_64-linux-gnu.tar.bz2 \ + elements-$ELEMENTS_VERSION + ) - name: Download build uses: actions/download-artifact@v3