[ci]: fix failure (#348)
* install unversioned `llvm` so that it pulls the latest one. * disable `uninitvar` check on cppcheck as it catches some false positives and gcc/clang/clang-tidy are good at catching uninitialized variables already. Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/348 Reviewed-by: explosion-mental <explosion-mental@noreply.codeberg.org>
This commit is contained in:
parent
1263f23970
commit
6d8ec5aee3
@ -14,7 +14,7 @@ pipeline:
|
||||
--force --quiet --inline-suppr --error-exitcode=1 \
|
||||
--max-ctu-depth=8 -j"$(nproc)" \
|
||||
$(make OPT_DEP_DEFAULT="$1" dump_cppflags) \
|
||||
--suppress=varFuncNullUB \
|
||||
--suppress=varFuncNullUB --suppress=uninitvar \
|
||||
*.c
|
||||
}
|
||||
run_tidy() {
|
||||
|
@ -10,7 +10,7 @@ pipeline:
|
||||
apk add --no-cache \
|
||||
imlib2 imlib2-dev xorgproto \
|
||||
libxft libxft-dev libexif libexif-dev giflib giflib-dev libwebp libwebp-dev \
|
||||
gcc clang llvm12 llvm12-dev build-base wget ca-certificates >/dev/null
|
||||
gcc clang llvm llvm-dev build-base wget ca-certificates >/dev/null
|
||||
wget "https://github.com/TinyCC/tinycc/archive/$TCC_SHA.tar.gz" >/dev/null
|
||||
tar xzf "$TCC_SHA.tar.gz" >/dev/null
|
||||
( cd "tinycc-$TCC_SHA" && ./configure --config-musl && make -s -j"$(nproc)" && make install; ) >/dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user