changed the platform specific builds to depend on the base build.

This commit is contained in:
Kai Kriegel 2021-09-13 21:29:13 +00:00
parent 0bd2cc2e47
commit 70aa0d27c7

View File

@ -55,6 +55,8 @@ build_base:
# - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests
build_UWP:
needs:
- build_base
stage: build
tags:
- xamarin
@ -71,6 +73,8 @@ build_UWP:
# - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests
build_Android:
needs:
- build_base
stage: build
tags:
- xamarin
@ -83,26 +87,30 @@ build_Android:
artifacts:
expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on
paths:
- Borepin/Borepin.Android/bin/Release/com.companyname.borepin-Signed.apk # saving apk to copy to deploy folder
- Borepin/Borepin.Android/bin/Release/org.fabinfra.fabaccess.apk # saving apk to copy to deploy folder
# - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests
build_iOS:
stage: build
tags:
- macos
# only:
# - tags # the build process will only be started by git tag commits
script:
- 'nuget restore' # restore Nuget dependencies
- 'msbuild /t:Borepin_iOS /p:Configuration=Debug /p:Platform=iPhone /p:ArchiveOnBuild=true' # build the project /p:AndroidKeyStore=True
artifacts:
expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on
paths:
- Borepin/Borepin.iOS/bin/iPhone/Debug/Borepin.ipa
- Borepin/Borepin.iOS/bin/iPhone/Debug/Borepin.app.dSYM
# - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests
needs:
- build_base
stage: build
tags:
- macos
# only:
# - tags # the build process will only be started by git tag commits
script:
- 'nuget restore' # restore Nuget dependencies
- 'msbuild /t:Borepin_iOS /p:Configuration=Debug /p:Platform=iPhone /p:ArchiveOnBuild=true' # build the project /p:AndroidKeyStore=True
artifacts:
expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on
paths:
- Borepin/Borepin.iOS/bin/iPhone/Debug/Borepin.ipa
- Borepin/Borepin.iOS/bin/iPhone/Debug/Borepin.app.dSYM
# - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests
build_GTK:
needs:
- build_base
stage: build
image: registry.gitlab.com/fabinfra/gtk-sharp-build:latest
tags: