56 lines
1.9 KiB
YAML
56 lines
1.9 KiB
YAML
name: V36 ExitFix Baseline
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- test/v36-exitfix-baseline
|
|
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' \
|
|
'V36 runtime + process-exit safety only.' \
|
|
'Base runtime commit: 4bbee94388f98843b738e275fd9482576be80654.' \
|
|
'Compared with V34, only src/outline/d3d9_hook.zig changes runtime behavior.' \
|
|
'main branch is untouched.' \
|
|
'WeirdPerformance is disabled in this standalone build and not modified.' \
|
|
> package/README_TEST.txt
|
|
(cd package && sha256sum DLL/outline.dll > SHA256SUMS.txt && zip -r ../dist/WeirdUtils_V36_EXITFIX_BASELINE.zip DLL Interface README_TEST.txt SHA256SUMS.txt)
|
|
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: WeirdUtils-V36-EXITFIX-BASELINE
|
|
path: dist/WeirdUtils_V36_EXITFIX_BASELINE.zip
|
|
if-no-files-found: error
|