-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build Windows portable and installer packages on CI #13578
Build Windows portable and installer packages on CI #13578
Conversation
Both builds steps are basically identical except for one config setting. So it would be great to avoid the duplication of the ~15 steps that are exactly the same in each. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
This PR adds an Inno Setup script, and builds both the portable and installer packages in the Windows GitHub workflow. Resolves #13426.
The portable package is built in release mode and comes with
crystal.pdb
; otherwise, it is identical to the unofficial package we are already distributing. The Inno Setup script expects this portable package to be available atetc\win-ci\portable
, and then builds an installer from it, plus samples and offline docs.The installer will instruct the user to install the MSVC build tools and/or the Windows SDK manually if they are not detected.
Right now both jobs will unconditionally run on any push or PR, but this is only so that the PR itself and the master branch would build the packages for testing; the jobs will afterwards be restricted to branches named
ci/*
orrelease/*
. The eventual goal here is to avoid having to rebuild all third-party libraries on every nightly build once these packages are ready.