Add sandbox_c cmake project + ccache workflow for pool testing
Build RPi image / build (push) Successful in 10s
Sandbox - ephemeral runner + shared cache / cargo (push) Successful in 1m27s
Sandbox - cmake + ccache on the pool / build (push) Successful in 10s

This commit is contained in:
druppy committed 2026-10-24 22:54:55 +02:00
1 parent fb253f9b27
commit ba41deb9ec
9 files changed
+160

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
cmake_minimum_required(VERSION 3.22)
project(sandbox_c C)
set(CMAKE_C_STANDARD 11)
add_library(tempsense STATIC src/temperature.c src/convert.c src/parse.c src/format.c)
target_include_directories(tempsense PUBLIC include)
enable_testing()
add_executable(test_tempsense tests/test_temperature.c)
target_link_libraries(test_tempsense PRIVATE tempsense)
add_test(NAME tempsense COMMAND test_tempsense)