diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2020-03-23 14:44:01 +0100 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2020-03-24 09:35:31 +0100 |
| commit | 08ff66f93b46b02a9be7983e341451303f1cf00f (patch) | |
| tree | b591627a3ea22e4db8110bfcd69ea715612b6a7f /.github/workflows | |
| parent | bb47e1b9cd2926bed3e63f528e063e462c28975a (diff) | |
| download | qxmpp-08ff66f93b46b02a9be7983e341451303f1cf00f.tar.gz | |
[tests] run Linux and OS X tests using GitHub Actions
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/tests.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 00000000..89a6d2bb --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,29 @@ +name: tests + +on: [push, pull_request] + +jobs: + + test: + runs-on: ${{ matrix.os }} + env: + CONFIG: ${{ matrix.config }} + strategy: + matrix: + config: [minimal, full, full-debug] + os: [ubuntu-latest, macos-latest] + steps: + - uses: actions/checkout@v2 + - name: Install Qt + uses: jurplel/install-qt-action@v2 + - name: Install extra packages + run: tests/travis/install-build-depends + - name: Disable OS X firewall + if: matrix.os == 'macos-latest' + run: | + sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off + - name: Run tests + run: tests/travis/build-and-test + - uses: codecov/codecov-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }} |
