ci: Build and test in ubuntu:22.04 and install lowdown

This commit is contained in:
Christian Decker
2022-12-19 18:20:19 +01:00
committed by Rusty Russell
parent bcc75b6e98
commit ca3053707f

View File

@@ -51,7 +51,7 @@ jobs:
# The unit test checks are not in the critical path (not dependent # The unit test checks are not in the critical path (not dependent
# on the integration tests), so run them with `valgrind` # on the integration tests), so run them with `valgrind`
name: Run unit tests name: Run unit tests
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
env: env:
COMPAT: 1 COMPAT: 1
VALGRIND: 1 VALGRIND: 1
@@ -70,6 +70,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
bash -x .github/scripts/setup.sh bash -x .github/scripts/setup.sh
sudo apt-get install -y -qq lowdown
pip install -U pip wheel poetry pip install -U pip wheel poetry
# Export and then use pip to install into the current env # Export and then use pip to install into the current env
poetry export -o /tmp/requirements.txt --without-hashes --with dev poetry export -o /tmp/requirements.txt --without-hashes --with dev
@@ -84,7 +85,7 @@ jobs:
compile: compile:
name: Compile CLN ${{ matrix.cfg }} name: Compile CLN ${{ matrix.cfg }}
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
env: env:
COMPAT: 1 COMPAT: 1
needs: needs:
@@ -155,7 +156,7 @@ jobs:
integration: integration:
name: Test CLN ${{ matrix.cfg }} name: Test CLN ${{ matrix.cfg }}
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
env: env:
COMPAT: 1 COMPAT: 1
BITCOIN_VERSION: 0.20.1 BITCOIN_VERSION: 0.20.1