CI and spell checks

This commit is contained in:
Markus F.X.J. Oberhumer
2023-08-09 13:08:38 +02:00
parent 11e3770864
commit 757401dd0c
21 changed files with 51 additions and 50 deletions
+4 -3
View File
@@ -4,7 +4,7 @@
# tricky, so some false positives are fine
[files]
extend-exclude = ["LICENSE", "misc/*/packages.txt", "misc/*/*/packages.txt"]
extend-exclude = ["LICENSE", "misc/*podman*/*/packages.txt"]
[default.extend-identifiers]
# misc variable names & symbols
@@ -13,12 +13,13 @@ ba = "ba"
fo = "fo"
fof = "fof"
O_WRONLY = "O_WRONLY"
# clang-analyzer-optin.cplusplus
# optin: clang-analyzer-optin.cplusplus
optin = "optin"
sidelen = "sidelen"
# macOS 11 "Big Sur"
Sur = "Sur"
tpos = "tpos"
# assembly sources
CArry = "CArry"
hda = "hda"
Larg = "Larg"
pard = "pard"
+2 -2
View File
@@ -12,8 +12,8 @@ env:
CMAKE_REQUIRED_QUIET: OFF
DEBIAN_FRONTEND: noninteractive
UPX_CMAKE_BUILD_FLAGS: --verbose
# 2023-08-07
ZIG_DIST_VERSION: 0.12.0-dev.21+ac95cfe44
# 2023-08-09
ZIG_DIST_VERSION: 0.12.0-dev.25+36c57c3ba
jobs:
job-rebuild-and-verify-stubs:
@@ -14,7 +14,7 @@
name: 'GitHub - Close inactive issues'
on:
schedule: [cron: '50 3 * * 3'] # run weekly Wednesday 03:50 UTC
schedule: [cron: '50 2 * * 3'] # run weekly Wednesday 02:50 UTC
workflow_dispatch:
jobs:
close-issues:
@@ -2,7 +2,7 @@
name: 'Static Analyzer - clang-analyzer'
on:
schedule: [cron: '10 5 * * 3'] # run weekly Wednesday 05:10 UTC
schedule: [cron: '10 4 * * 3'] # run weekly Wednesday 04:10 UTC
workflow_dispatch:
env:
CMAKE_REQUIRED_QUIET: OFF
@@ -2,7 +2,7 @@
name: 'Static Analyzer - clang-tidy'
on:
schedule: [cron: '30 5 * * 3'] # run weekly Wednesday 05:30 UTC
schedule: [cron: '30 4 * * 3'] # run weekly Wednesday 04:30 UTC
workflow_dispatch:
env:
CMAKE_REQUIRED_QUIET: OFF
@@ -24,7 +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 -k -C upx build/analyze/clang-tidy/debug'
run: 'make -C upx -k 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 -k -C upx build/analyze/clang-tidy/release'
run: 'make -C upx -k build/analyze/clang-tidy/release'
+1 -1
View File
@@ -2,7 +2,7 @@
name: 'Static Analyzer - CodeQL'
on:
schedule: [cron: '50 5 * * 3'] # run weekly Wednesday 05:50 UTC
schedule: [cron: '50 4 * * 3'] # run weekly Wednesday 04:50 UTC
workflow_dispatch:
env:
CMAKE_REQUIRED_QUIET: OFF
+1 -1
View File
@@ -10,7 +10,7 @@
name: 'Weekly CI - Alpine Linux'
on:
schedule: [cron: '05 4 * * 3'] # run weekly Wednesday 04:05 UTC
schedule: [cron: '05 3 * * 3'] # run weekly Wednesday 03:05 UTC
workflow_dispatch:
env:
CMAKE_REQUIRED_QUIET: OFF
@@ -3,7 +3,7 @@
name: 'Weekly CI - cmake macOS Xcode'
on:
schedule: [cron: '20 4 * * 3'] # run weekly Wednesday 04:20 UTC
schedule: [cron: '20 3 * * 3'] # run weekly Wednesday 03:20 UTC
workflow_dispatch:
env:
CMAKE_REQUIRED_QUIET: OFF
@@ -3,7 +3,7 @@
name: 'Weekly CI - cmake Windows NMake'
on:
schedule: [cron: '30 4 * * 3'] # run weekly Wednesday 04:30 UTC
schedule: [cron: '30 3 * * 3'] # run weekly Wednesday 03:30 UTC
workflow_dispatch:
env:
CMAKE_REQUIRED_QUIET: OFF
+1 -1
View File
@@ -3,7 +3,7 @@
name: 'Weekly CI - llvm-mingw'
on:
schedule: [cron: '40 4 * * 3'] # run weekly Wednesday 04:40 UTC
schedule: [cron: '40 3 * * 3'] # run weekly Wednesday 03:40 UTC
workflow_dispatch:
env:
CMAKE_REQUIRED_QUIET: OFF
+3 -3
View File
@@ -3,13 +3,13 @@
name: 'Weekly CI - zigcc'
on:
schedule: [cron: '50 4 * * 3'] # run weekly Wednesday 04:50 UTC
schedule: [cron: '50 3 * * 3'] # run weekly Wednesday 03:50 UTC
workflow_dispatch:
env:
CMAKE_REQUIRED_QUIET: OFF
DEBIAN_FRONTEND: noninteractive
# 2023-08-07
ZIG_DIST_VERSION: 0.12.0-dev.21+ac95cfe44
# 2023-08-09
ZIG_DIST_VERSION: 0.12.0-dev.25+36c57c3ba
jobs:
job-linux-zigcc: # uses cmake + make