From 087aad3dcd3439bb87832356067e0a9e26eca510 Mon Sep 17 00:00:00 2001 From: Henry Fraser Date: Tue, 8 Feb 2022 06:49:09 +1000 Subject: ci: improved cpack packaging Addresses: #12571 - Added the following installers through CMake files: - Windows NSIS. - Windows MSI. - Windows zip. - MacOs tarball. - Linux tarball. - Linux Deb package. - Tweaked pipeline CPack commands to build using new CMakeLists.txt configuration file. - Added icons and relevant packaging files. - Updated notes.md to reflect new installation instructions. This isn't meant to be the perfect solution, it's simply a first pass at using a simple packaging system to build Windows installers. A Debian package has also been added since it's very easy but other packages have been left out due to limiting the scope. Hopefully we can build further upon this and improve it over time with code signing, better icons and more user-friendly installation graphics and so on. --- ci/build.ps1 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ci') diff --git a/ci/build.ps1 b/ci/build.ps1 index ef5ba3bf2d..5bbf3c4d8a 100644 --- a/ci/build.ps1 +++ b/ci/build.ps1 @@ -167,7 +167,4 @@ if (Test-Path -Path $env:ChocolateyInstall\bin\cpack.exe) { } # Build artifacts -cpack -G ZIP -C RelWithDebInfo -if ($env:APPVEYOR_REPO_TAG_NAME -ne $null) { - cpack -G NSIS -C RelWithDebInfo -} +cpack -C $cmakeBuildType -- cgit