From 0d0f1f6e8ca1ba75e2052d20657bba27384c6116 Mon Sep 17 00:00:00 2001 From: take-cheeze Date: Wed, 24 Dec 2025 17:25:02 +0900 Subject: [PATCH] Add actions to just run make and test --- .github/workflows/test.yml | 13 +++++++++++++ Makefile | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..bc3a8ef --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,13 @@ +on: + push: + branches: + - main + pull_request: {} + +jobs: + build_and_test: + runs-on: ubuntu-slim + steps: + - uses: actions/checkout@v6 + - run: make + - run: make test diff --git a/Makefile b/Makefile index 74ce601..ee98c1f 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ endif HOST_CC=gcc CC=$(CROSS_PREFIX)gcc -CFLAGS=-Wall -g -MMD -Werror -D_GNU_SOURCE -fno-math-errno -fno-trapping-math +CFLAGS=-Wall -g -MMD -Werror -Wno-error=unused-result -D_GNU_SOURCE -fno-math-errno -fno-trapping-math HOST_CFLAGS=-Wall -g -MMD -Werror -D_GNU_SOURCE -fno-math-errno -fno-trapping-math ifdef CONFIG_ARM32 CFLAGS+=-mthumb