From 8bddcd2c3db62ccc05e0eff36f52d1869b659978 Mon Sep 17 00:00:00 2001 From: Ari Sulistiono Date: Sat, 7 Nov 2026 16:37:00 +0700 Subject: [PATCH] ci(fat): produce exact native identity-editor Windows installer for operator test --- .github/workflows/p1-windows.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/p1-windows.yml b/.github/workflows/p1-windows.yml index 0c8aa9410..7c0c185ce 100644 --- a/.github/workflows/p1-windows.yml +++ b/.github/workflows/p1-windows.yml @@ -135,7 +135,7 @@ jobs: needs: quick # Draft commits never reserve expensive Windows runners. Non-draft PR # synchronizations re-test latest HEAD. Main push and manual always run. - if: ${{ github.event_name != 'pull_request' }} + if: ${{ github.event_name != 'pull_request' || (github.event_name == 'pull_request' && github.head_ref == 'fix/native-identity-windows-fat-20261107') }} runs-on: windows-2022 timeout-minutes: 50 steps: @@ -229,25 +229,25 @@ jobs: - name: Test realtime control primitives run: ctest --test-dir build -C Release --output-on-failure - name: Package verified JUCE GUI for hardware FAT - if: ${{ github.event_name == 'workflow_dispatch' && inputs.package_fat == true }} + if: ${{ (github.event_name == 'workflow_dispatch' && inputs.package_fat == true) || (github.event_name == 'pull_request' && github.head_ref == 'fix/native-identity-windows-fat-20261107') }} shell: pwsh run: | & ./scripts/package_native_windows.ps1 -BuildDir build -OutputDir dist if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } - name: Stage ONLY legally approved and host-qualified Factory VST3 bundles - if: ${{ github.event_name == 'workflow_dispatch' && inputs.package_fat == true }} + if: ${{ (github.event_name == 'workflow_dispatch' && inputs.package_fat == true) || (github.event_name == 'pull_request' && github.head_ref == 'fix/native-identity-windows-fat-20261107') }} shell: pwsh run: | python scripts/factoryfx_release_bundle.py stage --lock config/factoryfx-approved-releases.json --output dist if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } - name: Independently verify release ZIP and embedded GUI/engine before upload - if: ${{ github.event_name == 'workflow_dispatch' && inputs.package_fat == true }} + if: ${{ (github.event_name == 'workflow_dispatch' && inputs.package_fat == true) || (github.event_name == 'pull_request' && github.head_ref == 'fix/native-identity-windows-fat-20261107') }} shell: pwsh run: | & ./scripts/verify_native_windows_artifact.ps1 -OutputDir dist if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } - name: Install Inno Setup 6 compiler if missing - if: ${{ github.event_name == 'workflow_dispatch' && inputs.package_fat == true }} + if: ${{ (github.event_name == 'workflow_dispatch' && inputs.package_fat == true) || (github.event_name == 'pull_request' && github.head_ref == 'fix/native-identity-windows-fat-20261107') }} shell: pwsh run: | if (-not (Get-Command ISCC.exe -ErrorAction SilentlyContinue) -and @@ -256,13 +256,13 @@ jobs: if ($LASTEXITCODE -ne 0) { throw 'Inno Setup compiler installation failed' } } - name: Compile and validate per-user Windows RC installer from exact FAT PE - if: ${{ github.event_name == 'workflow_dispatch' && inputs.package_fat == true }} + if: ${{ (github.event_name == 'workflow_dispatch' && inputs.package_fat == true) || (github.event_name == 'pull_request' && github.head_ref == 'fix/native-identity-windows-fat-20261107') }} shell: pwsh run: | & ./scripts/build_verify_windows_installer.ps1 -OutputDir dist -InstallerOutput installer-output if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } - uses: actions/upload-artifact@v4 - if: ${{ github.event_name == 'workflow_dispatch' && inputs.package_fat == true }} + if: ${{ (github.event_name == 'workflow_dispatch' && inputs.package_fat == true) || (github.event_name == 'pull_request' && github.head_ref == 'fix/native-identity-windows-fat-20261107') }} with: name: ArSonMix-Windows-Installer-UNQUALIFIED-${{ github.run_id }} path: installer-output/ @@ -271,7 +271,7 @@ jobs: # Optional manual FAT only: never churn experimental ZIPs per commit. # The unqualified artifact is NOT a stable release or physical audio proof. - uses: actions/upload-artifact@v4 - if: ${{ github.event_name == 'workflow_dispatch' && inputs.package_fat == true }} + if: ${{ (github.event_name == 'workflow_dispatch' && inputs.package_fat == true) || (github.event_name == 'pull_request' && github.head_ref == 'fix/native-identity-windows-fat-20261107') }} with: name: ArSonMix-Windows-FAT-UNQUALIFIED-${{ github.run_id }} path: dist/