src: minor cleanups

This commit is contained in:
Markus F.X.J. Oberhumer
2023-08-21 22:41:42 +02:00
parent dd928cf956
commit dd1838a7eb
10 changed files with 50 additions and 25 deletions
+2 -2
View File
@@ -12,8 +12,8 @@ env:
CMAKE_REQUIRED_QUIET: OFF
DEBIAN_FRONTEND: noninteractive
UPX_CMAKE_BUILD_FLAGS: --verbose
# 2023-08-15
ZIG_DIST_VERSION: 0.12.0-dev.89+913511557
# 2023-08-20
ZIG_DIST_VERSION: 0.12.0-dev.146+020105d0d
jobs:
job-rebuild-and-verify-stubs:
@@ -17,7 +17,7 @@ on:
env:
CMAKE_REQUIRED_QUIET: OFF
DEBIAN_FRONTEND: noninteractive
UPX_TESTSUITE_LEVEL: 2
UPX_TESTSUITE_LEVEL: 4
jobs:
job-alpine-cmake: # uses cmake + make
+2 -2
View File
@@ -10,8 +10,8 @@ on:
env:
CMAKE_REQUIRED_QUIET: OFF
DEBIAN_FRONTEND: noninteractive
# 2023-08-15
ZIG_DIST_VERSION: 0.12.0-dev.89+913511557
# 2023-08-20
ZIG_DIST_VERSION: 0.12.0-dev.146+020105d0d
jobs:
job-linux-zigcc: # uses cmake + make
+4 -1
View File
@@ -93,7 +93,10 @@ jobs:
export upx_exe_runner="${{ matrix.qemu }}"
env -C build/xtarget/clang-static/$release "$PWD"/misc/testsuite/upx_testsuite_1.sh
- name: 'Run testsuite clang-static - Valgrind'
if: ${{ true }} # very slow (takes about 30 minutes on current GitHub CI)
if: ${{ true }} # very slow
run: |
export upx_exe_runner="valgrind --error-exitcode=1 --quiet"
# on current GitHub CI, takes about 30 minutes for release and 80 mins for debug
# reduce time for debug builds
test $release = debug && export UPX_TESTSUITE_LEVEL=4
env -C build/xtarget/clang-static/$release "$PWD"/misc/testsuite/upx_testsuite_1.sh