|
| 1 | +name: "[temp] probe: the Windows unit fault and the llvm payload's MinGW builtins" |
| 2 | + |
| 3 | +# A measurement, not a check; this branch is not merged. main's unit tests fault |
| 4 | +# on Windows in PackCompress/AStatedLevelIsHonoured (an access violation at the |
| 5 | +# image base) since the llvm 23.1.3 payload gained |
| 6 | +# lib/clang/23/lib/{x86_64,aarch64}-w64-windows-gnu/libclang_rt.builtins.a |
| 7 | +# (revision 2, 2026-11-11); the code of main did not change between its last |
| 8 | +# green run and its first red one. Leg A runs the test as it is; leg B removes |
| 9 | +# the two directories from the installed payload and runs it again. |
| 10 | +on: |
| 11 | + push: |
| 12 | + branches: [ probe/win-unit-av ] |
| 13 | + |
| 14 | +jobs: |
| 15 | + probe: |
| 16 | + runs-on: windows-latest |
| 17 | + timeout-minutes: 60 |
| 18 | + steps: |
| 19 | + - uses: actions/checkout@v4 |
| 20 | + - uses: ./.github/actions/bootstrap-mcpp |
| 21 | + - name: A — the payload as the index serves it |
| 22 | + shell: bash |
| 23 | + continue-on-error: true |
| 24 | + run: | |
| 25 | + export MCPP_VENDORED_XLINGS=$(cygpath -w "$USERPROFILE/.xlings/subos/default/bin/xlings.exe") |
| 26 | + mcpp --version |
| 27 | + mcpp test test_pack_distribution 2>&1 | tail -25 |
| 28 | + echo "A exit: ${PIPESTATUS[0]}" |
| 29 | + ls "$USERPROFILE/.mcpp/registry/data/xpkgs/xim-x-llvm/"*/lib/clang/*/lib/ |
| 30 | + - name: B — without the MinGW builtins directories |
| 31 | + shell: bash |
| 32 | + continue-on-error: true |
| 33 | + run: | |
| 34 | + export MCPP_VENDORED_XLINGS=$(cygpath -w "$USERPROFILE/.xlings/subos/default/bin/xlings.exe") |
| 35 | + for d in "$USERPROFILE/.mcpp/registry/data/xpkgs/xim-x-llvm/"*/lib/clang/*/lib/*-w64-windows-gnu; do |
| 36 | + echo "removing $d"; rm -rf "$d" |
| 37 | + done |
| 38 | + rm -rf target "$USERPROFILE/.mcpp/build-cache" "$USERPROFILE/.mcpp/bmi-cache" 2>/dev/null || true |
| 39 | + mcpp test test_pack_distribution 2>&1 | tail -25 |
| 40 | + echo "B exit: ${PIPESTATUS[0]}" |
0 commit comments