mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 16:26:22 +00:00
Disable the functional tests in the case of meson as well. They don't seem to work in the CI or take too long. This needs further investigation. For now let's run them locally and before each release. Signed-off-by: Michael Vetter <jubalh@iodoru.org>
57 lines
1.5 KiB
YAML
57 lines
1.5 KiB
YAML
name: Linux
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
branches: [master]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- flavor: debian
|
|
buildsystem: autotools
|
|
tests: unit
|
|
omemo: signal
|
|
script: ./ci/ci-build.sh
|
|
- flavor: fedora
|
|
buildsystem: autotools
|
|
tests: unit
|
|
omemo: signal
|
|
script: ./ci/ci-build.sh
|
|
- flavor: ubuntu
|
|
buildsystem: autotools
|
|
tests: unit
|
|
omemo: signal
|
|
script: ./ci/ci-build.sh
|
|
- flavor: debian
|
|
buildsystem: meson
|
|
tests: unit
|
|
omemo: signal
|
|
script: ./ci/ci-meson-build.sh
|
|
omemo_env: libsignal
|
|
- flavor: debian
|
|
buildsystem: meson
|
|
tests: unit
|
|
omemo: libomemo
|
|
script: ./ci/ci-meson-build.sh
|
|
omemo_env: libomemo-c
|
|
|
|
name: ${{ matrix.flavor }} | ${{ matrix.buildsystem }} | ${{ matrix.tests }} | ${{ matrix.omemo }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Run tests
|
|
env:
|
|
OMEMO_BACKEND: ${{ matrix.omemo_env }}
|
|
run: |
|
|
docker build -f ci/Dockerfile.${{ matrix.flavor }} -t profanity .
|
|
docker run ${OMEMO_BACKEND:+ -e OMEMO_BACKEND} profanity ${{ matrix.script }}
|