From 130e0dced2888c96ffdfad1ec3c4af11ba3e6439 Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Mon, 3 Mar 2025 11:25:29 +0100 Subject: [PATCH] github-actions: compile with gcc and clang using Makefile --- .github/workflows/compile.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 1c6a067..438cb5b 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -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: |