-
Notifications
You must be signed in to change notification settings - Fork 912
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:ElementsProject/lightning into dd…
…ustin/splice # Conflicts: # common/interactivetx.c # common/interactivetx.h # lightningd/peer_control.c # wallet/db.c
- Loading branch information
Showing
391 changed files
with
13,680 additions
and
7,067 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
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 |
---|---|---|
|
@@ -5,6 +5,7 @@ on: | |
branches: | ||
- "master" | ||
pull_request: | ||
|
||
jobs: | ||
smoke-test: | ||
name: Smoke Test ${{ matrix.cfg }} | ||
|
@@ -61,6 +62,8 @@ jobs: | |
TEST_GROUP_COUNT: ${{ matrix.TEST_GROUP_COUNT }} | ||
TEST_GROUP: ${{ matrix.TEST_GROUP }} | ||
run: | | ||
echo $PROTOC | ||
which protoc | ||
bash -x .github/scripts/build.sh | ||
- name: Upload Unit Test Results | ||
|
@@ -97,44 +100,44 @@ jobs: | |
./configure | ||
make check-doc | ||
proto-test: | ||
name: Protocol Test Config | ||
runs-on: ubuntu-22.04 | ||
timeout-minutes: 300 | ||
needs: [smoke-test] | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
include: | ||
- {compiler: clang, db: sqlite3} | ||
- {compiler: gcc, db: postgres} | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- name: Build and run | ||
run: | | ||
docker build -f contrib/docker/Dockerfile.ubuntu -t cln-ci-ubuntu . | ||
docker run -e ARCH=${{ matrix.arch }} \ | ||
-e COMPILER=${{ matrix.compiler }} \ | ||
-e DB=${{ matrix.db }} \ | ||
-e NETWORK=${{ matrix.network }} \ | ||
-e TARGET_HOST=${{ matrix.TARGET_HOST }} \ | ||
-e VALGRIND=${{ matrix.valgrind }} \ | ||
-e DEVELOPER=1 \ | ||
-e EXPERIMENTAL_FEATURES=1 \ | ||
-e COMPAT=0 \ | ||
-e PYTEST_PAR=2 \ | ||
-e PYTEST_OPTS="--timeout=300" \ | ||
-e TEST_CMD="make check-protos" \ | ||
-e TEST_GROUP=1 \ | ||
-e TEST_GROUP_COUNT=1 \ | ||
cln-ci-ubuntu | ||
- name: Upload Unit Test Results | ||
if: always() | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: Junit Report ${{ github.run_number }}.{{ matrix.cfg }} | ||
path: report.* | ||
# proto-test: | ||
# name: Protocol Test Config | ||
# runs-on: ubuntu-22.04 | ||
# timeout-minutes: 300 | ||
# needs: [smoke-test] | ||
# strategy: | ||
# fail-fast: true | ||
# matrix: | ||
# include: | ||
# - {compiler: clang, db: sqlite3} | ||
# - {compiler: gcc, db: postgres} | ||
# steps: | ||
# - name: Checkout | ||
# uses: actions/[email protected] | ||
# - name: Build and run | ||
# run: | | ||
# docker build -f contrib/docker/Dockerfile.ubuntu -t cln-ci-ubuntu . | ||
# docker run -e ARCH=${{ matrix.arch }} \ | ||
# -e COMPILER=${{ matrix.compiler }} \ | ||
# -e DB=${{ matrix.db }} \ | ||
# -e NETWORK=${{ matrix.network }} \ | ||
# -e TARGET_HOST=${{ matrix.TARGET_HOST }} \ | ||
# -e VALGRIND=${{ matrix.valgrind }} \ | ||
# -e DEVELOPER=1 \ | ||
# -e EXPERIMENTAL_FEATURES=1 \ | ||
# -e COMPAT=0 \ | ||
# -e PYTEST_PAR=2 \ | ||
# -e PYTEST_OPTS="--timeout=300" \ | ||
# -e TEST_CMD="make check-protos" \ | ||
# -e TEST_GROUP=1 \ | ||
# -e TEST_GROUP_COUNT=1 \ | ||
# cln-ci-ubuntu | ||
# - name: Upload Unit Test Results | ||
# if: always() | ||
# uses: actions/upload-artifact@v2 | ||
# with: | ||
# name: Junit Report ${{ github.run_number }}.{{ matrix.cfg }} | ||
# path: report.* | ||
|
||
normal-test: | ||
name: Normal Test Config ${{ matrix.cfg }} | ||
|
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 |
---|---|---|
|
@@ -20,8 +20,9 @@ jobs: | |
- name: Install dependencies | ||
run: | | ||
export PATH="/usr/local/opt:/Users/runner/.local/bin:/Users/runner/Library/Python/3.10/bin:$PATH" | ||
export BITCOIN_VERSION=0.20.1 | ||
brew install wget python autoconf automake libtool python3 gmp gnu-sed gettext libsodium | ||
brew install wget autoconf automake libtool [email protected] gmp gnu-sed gettext libsodium | ||
( | ||
cd /tmp/ | ||
|
@@ -30,12 +31,11 @@ jobs: | |
sudo mv bitcoin-$BITCOIN_VERSION/bin/* /usr/local/bin | ||
) | ||
pip3 install --user poetry | ||
poetry config virtualenvs.create false --local | ||
poetry install | ||
python3.10 -m pip install -U --user poetry wheel pip | ||
python3.10 -m poetry install | ||
python3.10 -m pip install -U --user mako | ||
ln -s /usr/local/Cellar/gettext/0.20.1/bin/xgettext /usr/local/opt | ||
export PATH="/usr/local/opt:$PATH" | ||
- name: Build | ||
env: | ||
|
@@ -53,7 +53,7 @@ jobs: | |
TEST_GROUP_COUNT: ${{ matrix.TEST_GROUP_COUNT }} | ||
TEST_GROUP: ${{ matrix.TEST_GROUP }} | ||
run: | | ||
export PATH="/usr/local/opt:/Users/runner/.local/bin:/Users/runner/Library/Python/3.10/bin:$PATH" | ||
export PATH="/usr/local/opt:/Users/runner/.local/bin:/Users/runner/Library/Python/3.10/bin:/usr/local/opt:$PATH" | ||
export LDFLAGS="-L/usr/local/opt/sqlite/lib" | ||
export CPPFLAGS="-I/usr/local/opt/sqlite/include" | ||
|
@@ -64,5 +64,5 @@ jobs: | |
slow_test: marks tests as slow (deselect with '-m "not slow_test"') | ||
EOF | ||
./configure | ||
make | ||
python3.10 -m poetry run ./configure | ||
python3.10 -m poetry run make |
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
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
Oops, something went wrong.