From bb4bfedf53b15d961727dba52d381a2601914e17 Mon Sep 17 00:00:00 2001 From: Kai Kriegel Date: Thu, 17 Sep 2020 15:41:21 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ea47fbc..7730298 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,7 +24,7 @@ # place project specific paths in variables to make the rest of the script more generic variables: EXE_RELEASE_FOLDER: 'Borepin\bin\Release' - MSI_RELEASE_FOLDER: 'Setup\bin\Release' + UWP_RELEASE_FOLDER: 'Borepin\Borepin.UWP\ TEST_FOLDER: 'Tests\bin\Release' # DEPLOY_FOLDER: 'P:\Projects\YourApp\Builds' NUGET_PATH: 'C:\NuGet\nuget.exe' @@ -87,6 +87,23 @@ build_Android: - Borepin/Borepin.Android/bin/Release/ # saving apk to copy to deploy folder - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests +build_iOS: + stage: build + tags: + - xamarin + - windows +# only: +# - tags # the build process will only be started by git tag commits + script: + - '& "$env:NUGET_PATH" restore' # restore Nuget dependencies + - '& "$env:MSBUILD_PATH" /t:Borepin.iOS /p:Configuration=Release /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/Release/Borepin.ipa + - Borepin/Borepin.iOS/bin/iPhone/Release/Borepin.app.dSYM + - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests + # test_job: # stage: test # tags: