mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
gci: Re-add tests of pre-compiled binaries
This commit is contained in:
parent
10abb620a8
commit
69e37a8865
1 changed files with 83 additions and 3 deletions
80
.github/workflows/ci.yaml
vendored
80
.github/workflows/ci.yaml
vendored
|
@ -117,3 +117,83 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: cln-${{ matrix.CFG }}.tar.gz
|
name: cln-${{ matrix.CFG }}.tar.gz
|
||||||
path: /tmp/cln-${{ matrix.CFG }}.tar.gz
|
path: /tmp/cln-${{ matrix.CFG }}.tar.gz
|
||||||
|
|
||||||
|
integration:
|
||||||
|
name: Test CLN ${{ matrix.cfg }}
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
env:
|
||||||
|
COMPAT: 1
|
||||||
|
needs:
|
||||||
|
- compile
|
||||||
|
strategy:
|
||||||
|
fail-fast: true
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- CFG: gcc-dev1-exp1
|
||||||
|
DEVELOPER: 1
|
||||||
|
EXPERIMENTAL_FEATURES: 1
|
||||||
|
TEST_DB_PROVIDER: sqlite3
|
||||||
|
COMPILER: gcc
|
||||||
|
- CFG: gcc-dev1-exp0
|
||||||
|
DEVELOPER: 1
|
||||||
|
EXPERIMENTAL_FEATURES: 0
|
||||||
|
TEST_DB_PROVIDER: sqlite3
|
||||||
|
COMPILER: gcc
|
||||||
|
- CFG: gcc-dev0-exp1
|
||||||
|
DEVELOPER: 0
|
||||||
|
EXPERIMENTAL_FEATURES: 1
|
||||||
|
TEST_DB_PROVIDER: sqlite3
|
||||||
|
COMPILER: gcc
|
||||||
|
- CFG: gcc-dev0-exp0
|
||||||
|
DEVELOPER: 0
|
||||||
|
EXPERIMENTAL_FEATURES: 0
|
||||||
|
TEST_DB_PROVIDER: sqlite3
|
||||||
|
COMPILER: gcc
|
||||||
|
# While we're at it let's try to compile with clang
|
||||||
|
- CFG: gcc-dev1-exp1
|
||||||
|
DEVELOPER: 1
|
||||||
|
EXPERIMENTAL_FEATURES: 1
|
||||||
|
TEST_DB_PROVIDER: sqlite3
|
||||||
|
COMPILER: clang
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Set up Python 3.7
|
||||||
|
uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: 3.7
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
echo Nothing to do
|
||||||
|
|
||||||
|
|
||||||
|
- name: Download build
|
||||||
|
uses: actions/download-artifact@v3
|
||||||
|
with:
|
||||||
|
name: cln-${{ matrix.CFG }}.tar.gz
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
env:
|
||||||
|
VALGRIND: ${{ matrix.VALGRIND }}
|
||||||
|
DEVELOPER: ${{ matrix.DEVELOPER }}
|
||||||
|
EXPERIMENTAL_FEATURES: ${{ matrix.EXPERIMENTAL_FEATURES }}
|
||||||
|
COMPILER: ${{ matrix.COMPILER }}
|
||||||
|
COMPAT: 1
|
||||||
|
CFG: ${{ matrix.CFG }}
|
||||||
|
SLOW_MACHINE: 1
|
||||||
|
PYTEST_PAR: 10
|
||||||
|
run: |
|
||||||
|
set -e
|
||||||
|
pip3 install --user pip wheel poetry
|
||||||
|
poetry export -o requirements.txt --with dev --without-hashes
|
||||||
|
python3 -m pip install -r requirements.txt
|
||||||
|
|
||||||
|
# Needed in order to run `make` below.
|
||||||
|
./configure CC="$COMPILER"
|
||||||
|
|
||||||
|
# Only run the `pytest` tests since these are the ones that
|
||||||
|
# really take time, and unit tests should be run in the
|
||||||
|
# `compile` step.
|
||||||
|
make pytest
|
||||||
|
|
Loading…
Add table
Reference in a new issue