updated ci

This commit is contained in:
Kai Kriegel 2021-01-31 20:53:53 +00:00
parent 2d4e2fcbf1
commit d865103558

View File

@ -52,7 +52,7 @@ build_base:
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:LIB_RELEASE_FOLDER' # saving exe to copy to deploy folder - '$env:LIB_RELEASE_FOLDER' # saving exe 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:
stage: build stage: build
@ -63,7 +63,7 @@ build_UWP:
# - tags # the build process will only be started by git tag commits # - tags # the build process will only be started by git tag commits
script: script:
- '& "$env:NUGET_PATH" restore' # restore Nuget dependencies - '& "$env:NUGET_PATH" restore' # restore Nuget dependencies
- '& "$env:MSBUILD_PATH" /p:Configuration=Release /target:Borepin_UWP' # build the project - '& "$env:MSBUILD_PATH" /p:Configuration=Debug /target:Borepin_UWP' # build the project
# 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:
@ -84,22 +84,22 @@ build_Android:
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/com.companyname.borepin-Signed.apk # 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:
# stage: build stage: build
# tags: tags:
# - macos - macos
# only: # only:
# - tags # the build process will only be started by git tag commits # - tags # the build process will only be started by git tag commits
# script: script:
# - 'nuget restore' # restore Nuget dependencies - 'nuget restore' # restore Nuget dependencies
# - 'msbuild /t:Borepin_iOS /p:Configuration=Debug /p:Platform=iPhone /p:ArchiveOnBuild=true' # build the project /p:AndroidKeyStore=True - 'msbuild /t:Borepin_iOS /p:Configuration=Debug /p:Platform=iPhone /p:ArchiveOnBuild=true' # build the project /p:AndroidKeyStore=True
# 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.iOS/bin/iPhone/Debug/Borepin.ipa - Borepin/Borepin.iOS/bin/iPhone/Debug/Borepin.ipa
# - Borepin/Borepin.iOS/bin/iPhone/Debug/Borepin.app.dSYM - Borepin/Borepin.iOS/bin/iPhone/Debug/Borepin.app.dSYM
# - '$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_GTK: build_GTK: