Files
cproof/.github/workflows/main.yml
Michael Vetter 24335c657c ci: Sort jobs and names in a better way
Instead of:

```
CI / Check coding style
CI / Check spelling
CI / debian | Autotools | unit | signal
CI / debian | Meson | unit+func | libomemo
CI / debian | Meson | unit+func | signal
CI / fedora | Autotools | unit | signal
CI / ubuntu | Autotools | unit | signal
Cygwin / cygwin-build
```

We will sort them into "Style", "Linux" and "Cygwin".
2026-03-20 13:14:02 +01:00

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+func
omemo: signal
script: ./ci/ci-meson-build.sh
omemo_env: libsignal
- flavor: debian
buildsystem: meson
tests: unit+func
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 }}