Krolyxon
Commit 6d8ec5a

Branches

Refs →

nsxiv6d8ec5a

[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.
Author
NRK
Date
2022-07-29 03:37 +0200
Parent
1263f23
Commit
6d8ec5aee31f8eff0288e598372ab94397741a03

+2 −2

2 files changed

  1. M .woodpecker/analysis.yml +1 −1
  2. M .woodpecker/build.yml +1 −1
M .woodpecker/analysis.yml View
@@ -14,7 +14,7 @@ pipeline:
1414 --force --quiet --inline-suppr --error-exitcode=1 \
1515 --max-ctu-depth=8 -j"$(nproc)" \
1616 $(make OPT_DEP_DEFAULT="$1" dump_cppflags) \
17− --suppress=varFuncNullUB \
17+ --suppress=varFuncNullUB --suppress=uninitvar \
1818 *.c
1919 }
2020 run_tidy() {
M .woodpecker/build.yml View
@@ -10,7 +10,7 @@ pipeline:
1010 apk add --no-cache \
1111 imlib2 imlib2-dev xorgproto \
1212 libxft libxft-dev libexif libexif-dev giflib giflib-dev libwebp libwebp-dev \
13− gcc clang llvm12 llvm12-dev build-base wget ca-certificates >/dev/null
13+ gcc clang llvm llvm-dev build-base wget ca-certificates >/dev/null
1414 wget "https://github.com/TinyCC/tinycc/archive/$TCC_SHA.tar.gz" >/dev/null
1515 tar xzf "$TCC_SHA.tar.gz" >/dev/null
1616 ( cd "tinycc-$TCC_SHA" && ./configure --config-musl && make -s -j"$(nproc)" && make install; ) >/dev/null