Skip to content

Add Windows installer building to AppVeyor

mazmazz requested to merge appveyor-deployer into appveyor-64

This adds Windows 7-zip installer and patch building for the 32-bit and 64-bit SDL builds on AppVeyor. Read full documentation here.

Asset WADs, DLLs, and extra files are grabbed from a series of 7-zip archives (see full list here) and then packaged accordingly.

Installer building will only be triggered under these conditions:

  • DPL_ENABLED must be set, and
  • A branch name containing deployer is pushed, or
  • A release tag is pushed and DPL_TAG_ENABLED is set.

Whether or not installers are triggered, the normal test builds will be run. The usual EXE-only artifacts are not affected by this merge.

Parameters to set on the project settings:

appveyor-deployer-params

  • DPL_ENABLED - Must be 1 to enable installer building
  • DPL_TAG_ENABLED - If set to 1, will trigger installer building when a release tag is pushed
  • ASSET_FILES_OPTIONAL_GET - If set to 1, will download and package music.dta. This is forced to 1 if a release tag is pushed.
  • PACKAGE_PATCH_DLL_GET - If set to 1, will include DLLs in the patch build, a la 2.1.21+
  • ASSET_CLEAN - If set to 1, will clear the asset archives from the AppVeyor cache so that they can be re-downloaded.

This only implements installer building; FTP and endpoint uploading are not implemented. Instead, you can simply download the artifacts from the AppVeyor jobs.

DD is not supported -- installers will not be triggered for DD jobs.

Samples

Results: https://ci.appveyor.com/project/mazmazz/srb2/builds/21291654

Complete installers, including music.dta:

Edited by mazmazz

Merge request reports

Loading