all: misc updates
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
# tricky, so some false positives are fine
|
||||
|
||||
[files]
|
||||
extend-exclude = ["LICENSE", "misc/*/packages.txt"]
|
||||
extend-exclude = ["LICENSE", "misc/*/packages.txt", "misc/*/*/packages.txt"]
|
||||
|
||||
[default.extend-identifiers]
|
||||
# misc variable names & symbols
|
||||
@@ -13,7 +13,10 @@ ba = "ba"
|
||||
fo = "fo"
|
||||
fof = "fof"
|
||||
O_WRONLY = "O_WRONLY"
|
||||
# clang-analyzer-optin.cplusplus
|
||||
optin = "optin"
|
||||
sidelen = "sidelen"
|
||||
tpos = "tpos"
|
||||
# assembly sources
|
||||
CArry = "CArry"
|
||||
hda = "hda"
|
||||
|
||||
@@ -32,6 +32,7 @@ jobs:
|
||||
sudo mv -v -n ./packages/usr/lib/x86_64-linux-gnu/lib* /usr/lib/x86_64-linux-gnu/
|
||||
rm -rf ./*.deb ./packages
|
||||
sudo ldconfig
|
||||
# install upx-stubtools
|
||||
wget -q -O - https://github.com/upx/upx-stubtools/releases/download/v20221212/bin-upx-20221212.tar.xz | tar -xJ
|
||||
- name: 'Check out code'
|
||||
uses: actions/checkout@v3
|
||||
@@ -285,8 +286,6 @@ jobs:
|
||||
- name: 'Prepare sources and Check out test suite'
|
||||
shell: bash
|
||||
run: |
|
||||
git config --global core.autocrlf input
|
||||
git --version && bash --version
|
||||
git clone --depth=1 https://github.com/upx/upx-testsuite ../deps/upx-testsuite
|
||||
mkdir -p -v build/$C/$B/{bzip2,ucl,upx,zlib,zstd}
|
||||
- name: 'Set up Developer Command Prompt'
|
||||
@@ -297,7 +296,7 @@ jobs:
|
||||
- name: 'Build by hand'
|
||||
shell: cmd
|
||||
run: |
|
||||
@REM setup directories
|
||||
@REM ===== set vars =====
|
||||
where cl & where link
|
||||
set RUN_CL=cl ${{ matrix.cl_machine_flags }} -MT
|
||||
set RUN_LIB=link -lib ${{ matrix.link_machine_flags }}
|
||||
@@ -331,7 +330,7 @@ jobs:
|
||||
set UPX_LIBS=%BDIR%\bzip2\bzip2.lib %BDIR%\ucl\ucl.lib %BDIR%\zlib\zlib.lib %BDIR%\zstd\zstd.lib
|
||||
set UPX_LIBS=%BDIR%\ucl\ucl.lib %BDIR%\zlib\zlib.lib
|
||||
set sources=%s%\*.cpp %s%\check\*.cpp %s%\compress\*.cpp %s%\console\*.cpp %s%\filter\*.cpp %s%\util\*.cpp
|
||||
%RUN_CL% -J -O2 -W4 -WX -std:c++17 -Zc:__cplusplus -EHsc -DUPX_VERSION_GITREV="""%GITREV%""" %UPX_DEFS% %DEFS% -I%H%\vendor -Feupx.exe %sources% %UPX_LIBS% /link ${{ matrix.link_machine_flags }} setargv.obj
|
||||
%RUN_CL% -J -O2 -W4 -WX -std:c++17 -Zc:__cplusplus -EHsc -DUPX_VERSION_GITREV="""%GITREV%""" %DEFS% %UPX_DEFS% -I%H%\vendor -Feupx.exe %sources% %UPX_LIBS% /link ${{ matrix.link_machine_flags }} setargv.obj
|
||||
- name: 'Make artifact'
|
||||
shell: bash
|
||||
run: |
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
name: 'Static Analyzer - clang-analyzer'
|
||||
|
||||
on:
|
||||
schedule: [cron: '20 5 * * 3'] # run weekly Wednesday 05:20 UTC
|
||||
schedule: [cron: '10 5 * * 3'] # run weekly Wednesday 05:10 UTC
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
name: 'Static Analyzer - CodeQL'
|
||||
|
||||
on:
|
||||
schedule: [cron: '40 5 * * 3'] # run weekly Wednesday 05:40 UTC
|
||||
schedule: [cron: '50 5 * * 3'] # run weekly Wednesday 05:50 UTC
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright (C) Markus Franz Xaver Johannes Oberhumer
|
||||
# build under various Alpine Linux versions with clang and gcc, and
|
||||
# also test building with C++20 and C++23
|
||||
# Build under various Alpine Linux versions with clang and gcc, and
|
||||
# also test building with C++20 and C++23.
|
||||
|
||||
# also uses a subdirectory "upx with space" that contains whitespace in order
|
||||
# to detect possible quoting issues
|
||||
# And also uses a subdirectory "upx with space" that contains whitespace in order
|
||||
# to detect possible quoting issues.
|
||||
|
||||
# info: Alpine 3.9 has clang-5, cmake-3.13.0 and gcc-8, which nicely
|
||||
# matches our minimal build requirements
|
||||
|
||||
Reference in New Issue
Block a user