diff options
author | Robin Jarry <robin@jarry.cc> | 2023-08-16 15:45:11 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-08-24 14:14:45 +0200 |
commit | 79fd950f93c1804f3e6bd2b0d88c19bbe70a61b4 (patch) | |
tree | bb1c8ed2a672d52a91b88ceed9fcd207dd0cff06 | |
parent | fd0d9dd8dbd1f2ed3aa5a9dda6c3f4c18eccb3ac (diff) | |
download | aerc-79fd950f93c1804f3e6bd2b0d88c19bbe70a61b4.tar.gz |
ci: use make -C instead of changing directories
This is a matter of preference. I prefer -C over changing dirs.
Signed-off-by: Robin Jarry <robin@jarry.cc>
Reviewed-by: Karel Balej <balejk@matfyz.cz>
-rw-r--r-- | .builds/alpine-edge.yml | 22 | ||||
-rw-r--r-- | .builds/openbsd.yml | 7 |
2 files changed, 9 insertions, 20 deletions
diff --git a/.builds/alpine-edge.yml b/.builds/alpine-edge.yml index 9c5b8888..5edd26a5 100644 --- a/.builds/alpine-edge.yml +++ b/.builds/alpine-edge.yml @@ -15,25 +15,17 @@ environment: CFLAGS: -O2 -g -Wall -Wextra -Wconversion -Warith-conversion -Werror -Wformat-security -Wstack-protector -fstack-protector-strong -fanalyzer FILTERS_TEST_PREFIX: valgrind --leak-check=full --error-exitcode=1 tasks: - - lint: | - cd aerc - make lint - build: | - cd aerc - make + make -C aerc - install: | - cd aerc - make install - make checkinstall + make -C aerc install checkinstall - test: | - cd aerc - make tests + make -C aerc tests + - lint: | + make -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 - cd aerc - make clean - make + make -C aerc clean all - check-patches: | - cd aerc - make check-patches + make -C aerc check-patches diff --git a/.builds/openbsd.yml b/.builds/openbsd.yml index b83670bb..46be4f16 100644 --- a/.builds/openbsd.yml +++ b/.builds/openbsd.yml @@ -12,9 +12,6 @@ environment: DESTDIR: ./out tasks: - build: | - cd aerc - gmake + gmake -C aerc - install: | - cd aerc - gmake install - gmake checkinstall + gmake -C aerc install checkinstall |