ci: Make CI more informative
Have a better overview, we are interested in which tests are run, which distro, which build system and which omemo backend. debian | Autotools | unit+func | signal debian | Meson | unit+func | signal debian | Meson | unit+func | libomemo fedora | Autotools | unit+func | signal ubuntu | Autotools | unit+func | signal
This commit is contained in:
54
.github/workflows/main.yml
vendored
54
.github/workflows/main.yml
vendored
@@ -11,37 +11,49 @@ concurrency:
|
|||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
linux:
|
tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
flavor: [debian, fedora, ubuntu]
|
include:
|
||||||
|
- flavor: debian
|
||||||
|
buildsystem: Autotools
|
||||||
|
tests: unit+func
|
||||||
|
omemo: signal
|
||||||
|
script: ./ci/ci-build.sh
|
||||||
|
- flavor: fedora
|
||||||
|
buildsystem: Autotools
|
||||||
|
tests: unit+func
|
||||||
|
omemo: signal
|
||||||
|
script: ./ci/ci-build.sh
|
||||||
|
- flavor: ubuntu
|
||||||
|
buildsystem: Autotools
|
||||||
|
tests: unit+func
|
||||||
|
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: Linux
|
name: ${{ matrix.flavor }} | ${{ matrix.buildsystem }} | ${{ matrix.tests }} | ${{ matrix.omemo }}
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Run tests
|
|
||||||
run: |
|
|
||||||
docker build -f ci/Dockerfile.${{ matrix.flavor }} -t profanity .
|
|
||||||
docker run profanity ./ci/ci-build.sh
|
|
||||||
|
|
||||||
linux-meson:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
flavor: [debian]
|
|
||||||
|
|
||||||
name: Linux-meson
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
env:
|
env:
|
||||||
OMEMO_BACKEND: libomemo-c
|
OMEMO_BACKEND: ${{ matrix.omemo_env }}
|
||||||
run: |
|
run: |
|
||||||
docker build -f ci/Dockerfile.${{ matrix.flavor }} -t profanity .
|
docker build -f ci/Dockerfile.${{ matrix.flavor }} -t profanity .
|
||||||
docker run -e OMEMO_BACKEND profanity ./ci/ci-meson-build.sh
|
docker run ${OMEMO_BACKEND:+ -e OMEMO_BACKEND} profanity ${{ matrix.script }}
|
||||||
|
|
||||||
code-style:
|
code-style:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|||||||
Reference in New Issue
Block a user