|
59 | 59 | path: report.* |
60 | 60 | if-no-files-found: ignore |
61 | 61 |
|
| 62 | + proto-test: |
| 63 | + name: Protocol Test Config |
| 64 | + runs-on: ubuntu-20.04 |
| 65 | + needs: [smoke-test] |
| 66 | + env: |
| 67 | + DEVELOPER: 1 |
| 68 | + EXPERIMENTAL_FEATURES: 1 |
| 69 | + COMPAT: 0 |
| 70 | + PYTEST_PAR: 2 |
| 71 | + TEST_CMD: "make check-protos" |
| 72 | + TEST_GROUP: 1 |
| 73 | + TEST_GROUP_COUNT: 1 |
| 74 | + strategy: |
| 75 | + fail-fast: true |
| 76 | + matrix: |
| 77 | + compiler: [gcc] |
| 78 | + db: [postgres, sqlite3] |
| 79 | + valgrind: [0, 1] |
| 80 | + network: [regtest] # FIXME: add liquid-regtest |
| 81 | + include: |
| 82 | + - {compiler: clang, db: sqlite3, valgrind: 1} |
| 83 | + - {compiler: clang, db: postgres, valgrind: 1} |
| 84 | + - {arch: arm32v7, TARGET_HOST: arm-linux-gnueabihf, valgrind: 1, network: regtest} |
| 85 | + - {arch: arm64v8, TARGET_HOST: aarch64-linux-gnu, valgrind: 1, network: regtest} |
| 86 | + steps: |
| 87 | + - name: Checkout |
| 88 | + |
| 89 | + |
| 90 | + - name: Setup Python 3.6 |
| 91 | + uses: actions/setup-python@v2 |
| 92 | + with: |
| 93 | + python-version: 3.6 |
| 94 | + |
| 95 | + - name: Install dependencies |
| 96 | + run: | |
| 97 | + bash -x .github/scripts/setup.sh |
| 98 | +
|
| 99 | + - name: Build |
| 100 | + env: |
| 101 | + ARCH: ${{ matrix.arch }} |
| 102 | + COMPILER: ${{ matrix.compiler }} |
| 103 | + DB: ${{ matrix.db }} |
| 104 | + NETWORK: ${{ matrix.network }} |
| 105 | + TARGET_HOST: ${{ matrix.TARGET_HOST }} |
| 106 | + VALGRIND: ${{ matrix.valgrind }} |
| 107 | + run: | |
| 108 | + bash -x .github/scripts/build.sh |
| 109 | +
|
| 110 | + - name: Upload Unit Test Results |
| 111 | + if: always() |
| 112 | + uses: actions/upload-artifact@v2 |
| 113 | + with: |
| 114 | + name: Junit Report ${{ github.run_number }}.{{ matrix.cfg }} |
| 115 | + path: report.* |
| 116 | + |
62 | 117 | normal-test: |
63 | 118 | name: Normal Test Config ${{ matrix.cfg }} |
64 | 119 | runs-on: ubuntu-20.04 |
|
0 commit comments