github-actions: compile with gcc and clang using Makefile

pull/589/head
Marc Kleine-Budde 2025-03-03 11:25:29 +01:00
parent ff90f4ec21
commit 130e0dced2
1 changed files with 14 additions and 0 deletions

View File

@ -146,6 +146,20 @@ jobs:
podman exec -i stable cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=cmake/${toolchain}.cmake -DENABLE_WERROR=ON -B build-${toolchain} podman exec -i stable cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=cmake/${toolchain}.cmake -DENABLE_WERROR=ON -B build-${toolchain}
podman exec -i stable cmake --build build-${toolchain} podman exec -i stable cmake --build build-${toolchain}
- name: Configure & Build with gcc (Makefile)
env:
CC: gcc
run: |
podman exec -i stable make
podman exec -i stable make clean
- name: Configure & Build with clang (Makefile)
env:
CC: clang
run: |
podman exec -i stable make
podman exec -i stable make clean
- name: Show logs - name: Show logs
if: ${{ failure() }} if: ${{ failure() }}
run: | run: |