-
Notifications
You must be signed in to change notification settings - Fork 902
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f63b944
commit d61f12d
Showing
7 changed files
with
41 additions
and
407 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -2,151 +2,9 @@ | |
name: Continuous Integration | ||
on: [push, pull_request] | ||
jobs: | ||
smoke-test: | ||
name: Smoke Test ${{ matrix.cfg }} | ||
runs-on: ubuntu-20.04 | ||
env: | ||
DEVELOPER: 1 | ||
VALGRIND: 0 | ||
EXPERIMENTAL_FEATURES: 0 | ||
COMPAT: 1 | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
include: | ||
- CFG: "make" | ||
TEST_CMD: "make" | ||
- CFG: "make-O3-check" | ||
TEST_CMD: "make check-source check-units installcheck check-gen-updated" | ||
COPTFLAGS: "-O3" | ||
- CFG: "make-32-bit-nodev-check" | ||
ARCH: 32 | ||
TEST_CMD: "make check-source check-units installcheck" | ||
DEVELOPER: 0 | ||
- CFG: "make-EXPERIMENTAL-check" | ||
TEST_CMD: "make check-source check-units installcheck check-gen-updated" | ||
EXPERIMENTAL_FEATURES: 1 | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Fetch tags for auto versioning | ||
run: git fetch --prune --unshallow --tags -f | ||
|
||
- name: Set up Python 3.6 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.6 | ||
|
||
- name: Install dependencies | ||
run: | | ||
bash -x .github/scripts/setup.sh | ||
- name: Build | ||
env: | ||
VALGRIND: ${{ matrix.VALGRIND }} | ||
DEVELOPER: ${{ matrix.DEVELOPER }} | ||
EXPERIMENTAL_FEATURES: ${{ matrix.EXPERIMENTAL_FEATURES }} | ||
COMPILER: ${{ matrix.COMPILER }} | ||
ARCH: ${{ matrix.ARCH }} | ||
COMPAT: ${{ matrix.COMPAT }} | ||
PYTEST_PAR: ${{ matrix.PYTEST_PAR }} | ||
PYTEST_OPTS: ${{ matrix.PYTEST_OPTS }} | ||
COPTFLAGS: ${{ matrix.COPTFLAGS }} | ||
NETWORK: ${{ matrix.NETWORK }} | ||
TEST_CMD: ${{ matrix.TEST_CMD }} | ||
TEST_GROUP_COUNT: ${{ matrix.TEST_GROUP_COUNT }} | ||
TEST_GROUP: ${{ matrix.TEST_GROUP }} | ||
run: | | ||
bash -x .github/scripts/build.sh | ||
- name: Upload Unit Test Results | ||
if: always() | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: Junit Report ${{ github.run_number }}.${{ matrix.cfg }} | ||
path: report.* | ||
if-no-files-found: ignore | ||
|
||
check-dock: | ||
name: Check c-lightning doc | ||
runs-on: ubuntu-20.04 | ||
env: | ||
DEVELOPER: 1 | ||
VALGRIND: 0 | ||
EXPERIMENTAL_FEATURES: 0 | ||
COMPAT: 1 | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Set up Python 3.6 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.6 | ||
|
||
- name: Install dependencies | ||
run: bash -x .github/scripts/setup.sh | ||
|
||
- name: Check Doc | ||
run: | | ||
pip install mako | ||
./configure | ||
make check-doc | ||
proto-test: | ||
name: Protocol Test Config | ||
runs-on: ubuntu-20.04 | ||
needs: [smoke-test] | ||
env: | ||
DEVELOPER: 1 | ||
EXPERIMENTAL_FEATURES: 1 | ||
COMPAT: 0 | ||
PYTEST_PAR: 2 | ||
TEST_CMD: "make check-protos" | ||
TEST_GROUP: 1 | ||
TEST_GROUP_COUNT: 1 | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
include: | ||
- {compiler: clang, db: sqlite3} | ||
- {compiler: gcc, db: postgres} | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Setup Python 3.6 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.6 | ||
|
||
- name: Install dependencies | ||
run: | | ||
bash -x .github/scripts/setup.sh | ||
- name: Build | ||
env: | ||
ARCH: ${{ matrix.arch }} | ||
COMPILER: ${{ matrix.compiler }} | ||
DB: ${{ matrix.db }} | ||
NETWORK: ${{ matrix.network }} | ||
TARGET_HOST: ${{ matrix.TARGET_HOST }} | ||
VALGRIND: ${{ matrix.valgrind }} | ||
run: | | ||
bash -x .github/scripts/build.sh | ||
- 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 }} | ||
runs-on: ubuntu-20.04 | ||
needs: [smoke-test] | ||
env: | ||
DEVELOPER: 1 | ||
VALGRIND: 0 | ||
|
@@ -238,7 +96,6 @@ jobs: | |
valgrind-test: | ||
name: Valgrind Test Config ${{ matrix.cfg }} | ||
runs-on: ubuntu-20.04 | ||
needs: [smoke-test] | ||
env: | ||
DEVELOPER: 1 | ||
EXPERIMENTAL_FEATURES: 0 | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.