Skip to content

Commit d99e5ce

Browse files
committed
Add actions to just run make and test
1 parent 17ce6fe commit d99e5ce

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
pull_request: {}
6+
7+
jobs:
8+
build_and_test:
9+
runs-on: ubuntu-slim
10+
steps:
11+
- run: make
12+
- run: make test

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ endif
2525

2626
HOST_CC=gcc
2727
CC=$(CROSS_PREFIX)gcc
28-
CFLAGS=-Wall -g -MMD -Werror -D_GNU_SOURCE -fno-math-errno -fno-trapping-math
28+
CFLAGS=-Wall -g -MMD -Werror -Wno-error=unused-result -D_GNU_SOURCE -fno-math-errno -fno-trapping-math
2929
HOST_CFLAGS=-Wall -g -MMD -Werror -D_GNU_SOURCE -fno-math-errno -fno-trapping-math
3030
ifdef CONFIG_ARM32
3131
CFLAGS+=-mthumb

0 commit comments

Comments
 (0)