test: build V37A without Reset hook

This commit is contained in:
2026-08-29 18:45:26 +02:00
parent 1508f4d8a6
commit 7a959c7112
@@ -0,0 +1,55 @@
name: V37A No Reset Hook
on:
push:
branches:
- test/v37a-no-reset-hook
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: mlugg/setup-zig@v2
with:
version: '0.16.0'
- name: Build
shell: bash
run: |
set -euo pipefail
zig build all-variants -Doptimize=ReleaseSmall \
-Dweirdperformance=false \
-Doutline=true \
-Dcustomassets=true \
-Dtransmogfix=true
- name: Package
shell: bash
run: |
set -euo pipefail
rm -rf package dist
mkdir -p package/DLL package/Interface/AddOns/WeirdUtils_Outline dist
cp zig-out/variants/outline.dll package/DLL/outline.dll
cp src/outline/addon/Bindings.xml package/Interface/AddOns/WeirdUtils_Outline/
cp src/outline/addon/Outline.lua package/Interface/AddOns/WeirdUtils_Outline/
cp src/outline/addon/WeirdUtils_Outline.toc package/Interface/AddOns/WeirdUtils_Outline/
printf '%s\n' \
'V37A no-Reset-hook isolation test.' \
'Base: V37A no-auto-rehook + ExitFix.' \
'EndScene and DrawIndexedPrimitive hooks remain active.' \
'Reset hook is NOT installed.' \
'Visible outline rendering should still work.' \
'main branch untouched; WeirdPerformance not modified.' \
> package/README_TEST.txt
(cd package && sha256sum DLL/outline.dll > SHA256SUMS.txt && zip -r ../dist/WeirdUtils_V37A_NO_RESET_HOOK.zip DLL Interface README_TEST.txt SHA256SUMS.txt)
- uses: actions/upload-artifact@v4
with:
name: WeirdUtils-V37A-NO-RESET-HOOK
path: dist/WeirdUtils_V37A_NO_RESET_HOOK.zip
if-no-files-found: error