From 70aa0d27c7341c55113c8fa6ca55cf312452dae7 Mon Sep 17 00:00:00 2001 From: Kai Kriegel Date: Mon, 13 Sep 2021 21:29:13 +0000 Subject: [PATCH] changed the platform specific builds to depend on the base build. --- .gitlab-ci.yml | 38 +++++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 88f8ed8..3ee7772 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: