all: misc updates

This commit is contained in:
Markus F.X.J. Oberhumer
2023-06-13 16:42:14 +02:00
parent 07aa65b55e
commit 1ff0d137ab
16 changed files with 91 additions and 33 deletions
+5 -1
View File
@@ -4,7 +4,7 @@
# tricky, so some false positives are fine
[files]
extend-exclude = ["LICENSE"]
extend-exclude = ["LICENSE", "misc/*/packages.txt"]
[default.extend-identifiers]
# misc variable names & symbols
@@ -12,6 +12,7 @@ acc_spawnve = "acc_spawnve"
ba = "ba"
fo = "fo"
fof = "fof"
O_WRONLY = "O_WRONLY"
sidelen = "sidelen"
# assembly sources
CArry = "CArry"
@@ -22,6 +23,7 @@ suble = "suble"
# identifiers are intelligently split into words and then checked again
[default.extend-words]
delt = "delt"
FO = "FO"
fo = "fo"
# parm is used like param
@@ -30,6 +32,8 @@ parm = "parm"
# rela: ELF relocations
RELA = "RELA"
rela = "rela"
# siz is used for size
siz = "siz"
# SEH: Structured Exception Handling
SEH = "SEH"
seh = "seh"
+6 -5
View File
@@ -20,11 +20,12 @@ jobs:
- name: 'Install extra packages'
run: |
uname -a; pwd; id; umask
if ! test -e /usr/bin/python2; then
sudo apt-get update && sudo apt-get install -y --no-install-recommends python2-minimal
fi
mkdir ../deps; cd ../deps; mkdir packages
# for ubuntu-22.04: install python2-minimal
##sudo apt-get update && sudo apt-get install -y --no-install-recommends python2-minimal
# manually install compat libs from Ubuntu 16.04
wget -q 'http://archive.kernel.org/ubuntu-archive/ubuntu/pool/main/m/mpfr4/libmpfr4_3.1.6-1_amd64.deb'
wget -q 'https://archive.kernel.org/ubuntu-archive/ubuntu/pool/main/m/mpfr4/libmpfr4_3.1.6-1_amd64.deb'
for f in ./*.deb; do dpkg -x $f ./packages; done
sudo mv -v -n ./packages/usr/lib/x86_64-linux-gnu/lib* /usr/lib/x86_64-linux-gnu/
rm -rf ./*.deb ./packages
@@ -385,8 +386,8 @@ jobs:
- { zig_target: x86_64-macos.13-none }
- { zig_target: x86_64-windows-gnu }
env:
# 2023-06-08
ZIG_DIST_VERSION: 0.11.0-dev.3384+00ff65357
# 2023-06-11
ZIG_DIST_VERSION: 0.11.0-dev.3395+1e7dcaa3a
# for zig-cc wrapper scripts (see below):
ZIG_CPPFLAGS: -DUPX_DOCTEST_CONFIG_MULTITHREADING
ZIG_FLAGS: ${{ matrix.zig_flags }}