aboutsummaryrefslogtreecommitdiffstats
path: root/.builds
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-12-05 20:46:55 +0100
committerRobin Jarry <robin@jarry.cc>2023-12-14 23:05:07 +0100
commit73bf7241e611ea28e7a58584341921d1262afaa1 (patch)
treede7a87d1c8888d6e4309f5cf06f1a82f9e8ec051 /.builds
parent2db657b6bdd6394109c8adc32098d3f39c43f03d (diff)
downloadaerc-73bf7241e611ea28e7a58584341921d1262afaa1.tar.gz
lint,validate: fix for openbsd
- Remove GNU specific stuff (ln -v, mktemp --tempdir, grep --color) - Remove GCC specific flags in sendemail-validate (-Warith-conversion) - Add -std=c99 and -Wpedantic and fix the reported warnings. - Explicitly call gmake everywhere. - Run our custom analyzer standalone. Golangci lint plugins are not supported on OpenBSD. Indirect dependency to golang.org/x/mod is required somehow... Reported-by: Johannes Thyssen Tishman <johannes@thyssentishman.com> Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Johannes Thyssen Tishman <johannes@thyssentishman.com>
Diffstat (limited to '.builds')
-rw-r--r--.builds/alpine-edge.yml14
1 files changed, 7 insertions, 7 deletions
diff --git a/.builds/alpine-edge.yml b/.builds/alpine-edge.yml
index 5edd26a5..c8892ccb 100644
--- a/.builds/alpine-edge.yml
+++ b/.builds/alpine-edge.yml
@@ -12,20 +12,20 @@ environment:
DESTDIR: ./out
GOFLAGS: "-tags=notmuch"
CC: gcc
- CFLAGS: -O2 -g -Wall -Wextra -Wconversion -Warith-conversion -Werror -Wformat-security -Wstack-protector -fstack-protector-strong -fanalyzer
+ CFLAGS: -O0 -g -std=c99 -Wall -Wextra -Wconversion -Werror -Wformat-security -Wstack-protector -Wpedantic -Wmissing-prototypes
FILTERS_TEST_PREFIX: valgrind --leak-check=full --error-exitcode=1
tasks:
- build: |
- make -C aerc
+ gmake -C aerc
- install: |
- make -C aerc install checkinstall
+ gmake -C aerc install checkinstall
- test: |
- make -C aerc tests
+ gmake -C aerc tests
- lint: |
- make -C aerc lint
+ gmake -C aerc lint
- ancient-go-version: |
curl -O https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/go-1.18.7-r0.apk
sudo apk add ./go-1.18.7-r0.apk
- make -C aerc clean all
+ gmake -C aerc clean all
- check-patches: |
- make -C aerc check-patches
+ gmake -C aerc check-patches