From b81200683136ea4d60fbdf207092f4bcd9cbca97 Mon Sep 17 00:00:00 2001 From: Dusk-92 Date: Sat, 29 Aug 2026 18:32:47 +0200 Subject: [PATCH] test: build V37A without automatic D3D9 rehook --- .github/workflows/test-v37a-no-autorehook.yml | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 .github/workflows/test-v37a-no-autorehook.yml diff --git a/.github/workflows/test-v37a-no-autorehook.yml b/.github/workflows/test-v37a-no-autorehook.yml new file mode 100644 index 0000000..d4bdf26 --- /dev/null +++ b/.github/workflows/test-v37a-no-autorehook.yml @@ -0,0 +1,54 @@ +name: V37A No AutoRehook + +on: + push: + branches: + - test/v37a-no-autorehook + 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-auto-rehook isolation test.' \ + 'Base: V37A radii-only + ExitFix.' \ + 'Only runtime change: automatic lateRehookIfLost() call removed from RenderDraw.' \ + 'Initial deferred D3D9 hook installation remains unchanged.' \ + 'main branch untouched; WeirdPerformance not modified.' \ + > package/README_TEST.txt + (cd package && sha256sum DLL/outline.dll > SHA256SUMS.txt && zip -r ../dist/WeirdUtils_V37A_NO_AUTOREHOOK.zip DLL Interface README_TEST.txt SHA256SUMS.txt) + + - uses: actions/upload-artifact@v4 + with: + name: WeirdUtils-V37A-NO-AUTOREHOOK + path: dist/WeirdUtils_V37A_NO_AUTOREHOOK.zip + if-no-files-found: error