mirror of
https://gitlab.com/fabinfra/fabaccess/borepin.git
synced 2025-03-12 23:01:52 +01:00
Update .gitlab-ci.yml
This commit is contained in:
parent
744ba1f65c
commit
4de42c89ef
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user