all: improve C++ static analyzers
This commit is contained in:
@@ -12,8 +12,8 @@ env:
|
||||
CMAKE_REQUIRED_QUIET: OFF
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
UPX_CMAKE_BUILD_FLAGS: --verbose
|
||||
# 2023-07-25
|
||||
ZIG_DIST_VERSION: 0.11.0-dev.4228+aea29afc4
|
||||
# 2023-07-26
|
||||
ZIG_DIST_VERSION: 0.11.0-dev.4246+71dfce31b
|
||||
|
||||
jobs:
|
||||
job-rebuild-and-verify-stubs:
|
||||
@@ -390,6 +390,7 @@ jobs:
|
||||
# { zig_target: aarch64-macos.13.0-none }
|
||||
- { zig_target: aarch64-windows-gnu }
|
||||
- { zig_target: arm-linux-musleabihf }
|
||||
# { zig_target: arm-linux-musleabihf, zig_pic: -fPIE }
|
||||
# { zig_target: i386-linux-musl }
|
||||
- { zig_target: i386-windows-gnu }
|
||||
# { zig_target: mips-linux-musl }
|
||||
|
||||
@@ -23,8 +23,8 @@ jobs:
|
||||
run: |
|
||||
git clone --branch "$GITHUB_REF_NAME" --depth 1 https://github.com/upx/upx
|
||||
git -C upx submodule update --init
|
||||
- name: 'Perform clang scan-build Analysis Debug'
|
||||
run: 'make -C upx build/extra/scan-build/debug'
|
||||
- name: 'Perform clang scan-build Analysis Release'
|
||||
- name: 'Perform clang-analyzer scan-build Analysis Debug'
|
||||
run: 'make -C upx build/analyze/clang-analyzer/debug'
|
||||
- name: 'Perform clang-analyzer scan-build Analysis Release'
|
||||
if: success() || failure() # run this step even if the previous step failed
|
||||
run: 'make -C upx build/extra/scan-build/release'
|
||||
run: 'make -C upx build/analyze/clang-analyzer/release'
|
||||
|
||||
@@ -24,11 +24,7 @@ jobs:
|
||||
git clone --branch "$GITHUB_REF_NAME" --depth 1 https://github.com/upx/upx
|
||||
git -C upx submodule update --init
|
||||
- name: 'Perform clang-tidy Analysis Debug'
|
||||
run: |
|
||||
make -C upx build/extra/clang/debug
|
||||
python3 upx/misc/scripts/run-clang-tidy.py -p upx/build/extra/clang/debug
|
||||
run: 'make -C upx build/analyze/clang-tidy/debug'
|
||||
- name: 'Perform clang-tidy Analysis Release'
|
||||
if: success() || failure() # run this step even if the previous step failed
|
||||
run: |
|
||||
make -C upx build/extra/clang/release
|
||||
python3 upx/misc/scripts/run-clang-tidy.py -p upx/build/extra/clang/release
|
||||
run: 'make -C upx build/analyze/clang-tidy/release'
|
||||
|
||||
@@ -8,8 +8,8 @@ on:
|
||||
env:
|
||||
CMAKE_REQUIRED_QUIET: OFF
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
# 2023-07-25
|
||||
ZIG_DIST_VERSION: 0.11.0-dev.4228+aea29afc4
|
||||
# 2023-07-26
|
||||
ZIG_DIST_VERSION: 0.11.0-dev.4246+71dfce31b
|
||||
|
||||
jobs:
|
||||
job-linux-zigcc: # uses cmake + make
|
||||
@@ -28,6 +28,7 @@ jobs:
|
||||
- { zig_target: aarch64-macos.13.0-none }
|
||||
- { zig_target: aarch64-windows-gnu }
|
||||
- { zig_target: arm-linux-musleabihf }
|
||||
- { zig_target: arm-linux-musleabihf, zig_pic: -fPIE }
|
||||
- { zig_target: i386-linux-musl }
|
||||
- { zig_target: i386-windows-gnu }
|
||||
- { zig_target: mips-linux-musl }
|
||||
|
||||
Reference in New Issue
Block a user