Update .gitlab-ci.yml

This commit is contained in:
Kai Kriegel 2020-09-17 14:13:05 +00:00
parent 744ba1f65c
commit 4de42c89ef

View File

@ -37,7 +37,7 @@ stages:
- test
- deploy
build_job:
build_base:
stage: build
tags:
- xamarin
@ -55,6 +55,24 @@ build_job:
- '$env:MSI_RELEASE_FOLDER\YourApp Setup.msi' # saving msi to copy to deploy folder
- '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests
build_UWP:
stage: build
tags:
- xamarin
- windows
# only:
# - tags # the build process will only be started by git tag commits
script:
- whoami
- '& "$env:NUGET_PATH" restore' # restore Nuget dependencies
- '& "$env:MSBUILD_PATH" /p:Configuration=Release /target:Borepin.UWP' # build the project
artifacts:
expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on
paths:
- '$env:EXE_RELEASE_FOLDER\Borepin.exe' # saving exe to copy to deploy folder
- '$env:MSI_RELEASE_FOLDER\YourApp Setup.msi' # saving msi to copy to deploy folder
- '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests
test_job:
stage: test
tags: