.github/workflows/buildtest.yml
raw| 1 | # See also https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions |
| 2 | |
| 3 | name: Build and test |
| 4 | |
| 5 | on: [push, pull_request] |
| 6 | |
| 7 | jobs: |
| 8 | build_and_test: |
| 9 | runs-on: ubuntu-latest |
| 10 | |
| 11 | strategy: |
| 12 | fail-fast: false |
| 13 | matrix: |
| 14 | mode: [regular, disable-ipv6, disable-set, mini, read-only, without-nl, wolfssl, Android] |
| 15 | |
| 16 | env: |
| 17 | MODE: ${{ matrix.mode }} |
| 18 | |
| 19 | steps: |
| 20 | - uses: actions/checkout@main |
| 21 | |
| 22 | - name: install required packages |
| 23 | run: sudo bash -c "MODE=$MODE ci/install.sh" |
| 24 | |
| 25 | - name: build |
| 26 | run: ci/build.sh |
| 27 | |
| 28 | - name: test |
| 29 | run: ci/test.sh |