mirror of
https://github.com/upx/upx
synced 2025-10-05 19:20:23 +08:00
CI updates
This commit is contained in:
parent
ca97430db2
commit
7e4e6a3cb1
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -61,7 +61,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
export PATH="$(readlink -en ../deps/bin-upx-20221212):$PATH"
|
export PATH="$(readlink -en ../deps/bin-upx-20221212):$PATH"
|
||||||
make -C src/stub maintainer-clean extra-clean
|
make -C src/stub maintainer-clean extra-clean
|
||||||
git status || true
|
git status || true # make sure the stub files got deleted
|
||||||
make -C src/stub extra-all all
|
make -C src/stub extra-all all
|
||||||
if ! git diff --quiet; then git diff; exit 1; fi
|
if ! git diff --quiet; then git diff; exit 1; fi
|
||||||
- run: bash ./misc/scripts/check_whitespace_git.sh
|
- run: bash ./misc/scripts/check_whitespace_git.sh
|
||||||
|
|
|
@ -71,6 +71,10 @@ static_assert((-1) >> 31 == -1); // arithmetic right shift
|
||||||
static_assert(CHAR_MAX == 255); // -funsigned-char
|
static_assert(CHAR_MAX == 255); // -funsigned-char
|
||||||
static_assert((char) (-1) == 255); // -funsigned-char
|
static_assert((char) (-1) == 255); // -funsigned-char
|
||||||
|
|
||||||
|
// disable some more strict warnings
|
||||||
|
#if defined(__clang__) && __has_warning("-Wunnecessary-virtual-specifier")
|
||||||
|
#pragma clang diagnostic ignored "-Wunnecessary-virtual-specifier"
|
||||||
|
#endif
|
||||||
// enable some more strict warnings for Git developer builds
|
// enable some more strict warnings for Git developer builds
|
||||||
#if defined(UPX_CONFIG_DISABLE_WSTRICT) && (UPX_CONFIG_DISABLE_WSTRICT + 0 == 0)
|
#if defined(UPX_CONFIG_DISABLE_WSTRICT) && (UPX_CONFIG_DISABLE_WSTRICT + 0 == 0)
|
||||||
#if defined(UPX_CONFIG_DISABLE_WERROR) && (UPX_CONFIG_DISABLE_WERROR + 0 == 0)
|
#if defined(UPX_CONFIG_DISABLE_WERROR) && (UPX_CONFIG_DISABLE_WERROR + 0 == 0)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user