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