mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-04 22:09:57 +02:00
Merge pull request #589 from marckleinebudde/integrate-makefile-into-ci
github-actions: compile with gcc and clang using Makefile
This commit is contained in:
@@ -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: |
|
||||||
|
|||||||
Reference in New Issue
Block a user