stages: - build variables: #BITS: 32 or 64 # for more vars see build.ps1 #CMAKE_BUILD_TYPE: RelWithDebInfo CMAKE_BUILD_TYPE: Debug UPSTREAM_GIT_BRANCH: tools/windows .build: &build stage: build tags: - windows script: - Remove-Item *.msi,*.nupkg,*.nuspec - powershell.exe .\source.ps1 - powershell.exe .\build.ps1 - Copy-Item .\icinga2\Build\Icinga*.msi,.\icinga2\Build\choco\*.nuspec,.\icinga2\Build\choco\*.nupkg .\ # TODO: rename msi to upload standard cache: key: "${CI_COMMIT_REF_NAME}-${CI_JOB_NAME}" paths: - icinga2\ artifacts: paths: - 'Icinga*.msi' - '*.nupkg' - '*.nuspec' expire_in: 1 week Win32: <<: *build variables: BITS: 32 Win64: <<: *build variables: BITS: 64