Merge pull request #589 from marckleinebudde/integrate-makefile-into-ci

github-actions: compile with gcc and clang using Makefile
pull/588/head
Marc Kleine-Budde 2025-03-03 13:13:02 +01:00 committed by GitHub
commit 651c8818dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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 --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
if: ${{ failure() }}
run: |