mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-14 19:27:05 -04:00
CI: the MSI is install-tested with a custom folder, upgrade, repair and uninstall (#466)
test-msi.ps1 builds the MSI around stub binaries, validates it (ICE) and, silently: installs into a folder with spaces and a non-ASCII name, upgrades without naming a folder (it must stay there, one entry in Apps), repairs a deleted file, uninstalls (files and App Paths gone), and installs to the Program Files default. Run by a windows-latest job in packaging-lint.yml.
This commit is contained in:
1 parent
9ceda6a8f5
commit
f2d335b138
2 files changed
+106
-1
No files matched your search
@@ -1,5 +1,6 @@
|
||||
# Quick static checks for the release pipeline (seconds, no Rust build): workflow syntax,
|
||||
# packaging shell/PowerShell scripts, and the Linux desktop/AppStream/Flatpak metadata.
|
||||
# packaging shell/PowerShell scripts, and the Linux desktop/AppStream/Flatpak metadata. Plus a
|
||||
# Windows MSI install test with stub binaries (install folder, upgrade, repair, uninstall).
|
||||
name: Packaging lint
|
||||
|
||||
on:
|
||||
@@ -66,3 +67,16 @@ jobs:
|
||||
EOF
|
||||
- name: FreeBSD package layout (stub binaries)
|
||||
run: bash packaging/freebsd/package.sh --dry-run
|
||||
|
||||
windows-msi:
|
||||
name: Windows MSI install folder (stub binaries)
|
||||
runs-on: windows-latest
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install WiX
|
||||
shell: pwsh
|
||||
run: dotnet tool install --global wix --version 5.0.2
|
||||
- name: Install, upgrade, repair and uninstall
|
||||
shell: pwsh
|
||||
run: ./packaging/windows/test-msi.ps1
|
||||
Reference in new issue
Block a user