From 6f50cfdd124bbd65e72517fb391b768cd67a5593 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Wed, 27 Mar 2024 21:20:07 +0100 Subject: Build tests with automatic builds --- .build.yml | 4 ++++ tests/Makefile | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.build.yml b/.build.yml index e03c781..a1e1834 100644 --- a/.build.yml +++ b/.build.yml @@ -4,6 +4,7 @@ packages: - picolibc-arm-none-eabi - wget - unzip + - nbc sources: - https://git.sr.ht/~ni/nxt-firmware environment: @@ -35,3 +36,6 @@ tasks: make; \ make clean; \ fi + - build-tests: | + cd nxt-firmware + make -C tests build diff --git a/tests/Makefile b/tests/Makefile index 9e7d788..cf478ce 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -8,6 +8,8 @@ TESTS = float tests: $(TESTS:%=%.diff) +build: $(TESTS:%=%.rxe) + %.rxe: %.nxc $(NBC) $(OPTIMIZE) $(FIRMWARE) -O=$@ $< -- cgit v1.2.3