Update .gitlab-ci.yml

This commit is contained in:
Kai Kriegel 2020-09-17 15:45:25 +00:00
parent bb4bfedf53
commit bdd545611e

View File

@ -23,8 +23,8 @@
# place project specific paths in variables to make the rest of the script more generic # place project specific paths in variables to make the rest of the script more generic
variables: variables:
EXE_RELEASE_FOLDER: 'Borepin\bin\Release' LIB_RELEASE_FOLDER: 'Borepin\Borepin\bin\Release'
UWP_RELEASE_FOLDER: 'Borepin\Borepin.UWP\ UWP_RELEASE_FOLDER: 'Borepin\Borepin.UWP\bin\x86\Release'
TEST_FOLDER: 'Tests\bin\Release' TEST_FOLDER: 'Tests\bin\Release'
# DEPLOY_FOLDER: 'P:\Projects\YourApp\Builds' # DEPLOY_FOLDER: 'P:\Projects\YourApp\Builds'
NUGET_PATH: 'C:\NuGet\nuget.exe' NUGET_PATH: 'C:\NuGet\nuget.exe'
@ -50,8 +50,7 @@ build_base:
artifacts: artifacts:
expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on
paths: paths:
- '$env:EXE_RELEASE_FOLDER\Borepin.exe' # saving exe to copy to deploy folder - '$env:LIB_RELEASE_FOLDER' # 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 - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests
build_UWP: build_UWP:
@ -67,8 +66,7 @@ build_UWP:
artifacts: artifacts:
expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on
paths: paths:
- '$env:EXE_RELEASE_FOLDER\Borepin.exe' # saving exe to copy to deploy folder - '$env:UWP_RELEASE_FOLDER' # 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 - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests
build_Android: build_Android:
@ -84,7 +82,7 @@ build_Android:
artifacts: artifacts:
expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on
paths: paths:
- Borepin/Borepin.Android/bin/Release/ # saving apk to copy to deploy folder - Borepin/Borepin.Android/bin/Release/com.companyname.borepin-Signed.apk # saving apk to copy to deploy folder
- '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests
build_iOS: build_iOS: