From 47632806ec80e2d2080031fe867bdae98484fd70 Mon Sep 17 00:00:00 2001 From: Kai Kriegel Date: Thu, 17 Sep 2020 14:42:11 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8b38c3d..cb91ef7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -45,7 +45,6 @@ build_base: # only: # - tags # the build process will only be started by git tag commits script: - - whoami - '& "$env:NUGET_PATH" restore' # restore Nuget dependencies - '& "$env:MSBUILD_PATH" /p:Configuration=Release /target:Borepin' # build the project artifacts: @@ -63,7 +62,6 @@ build_UWP: # only: # - tags # the build process will only be started by git tag commits script: - - whoami - '& "$env:NUGET_PATH" restore' # restore Nuget dependencies - '& "$env:MSBUILD_PATH" /p:Configuration=Release /target:Borepin_UWP' # build the project artifacts: @@ -73,6 +71,22 @@ build_UWP: - '$env:MSI_RELEASE_FOLDER\YourApp Setup.msi' # saving msi to copy to deploy folder - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests +build_Android: + 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" /p:Configuration=Release /target:Borepin_Android /t:PackageForAndroid /t:SignAndroidPackage /p:AndroidKeyStore=True' # build the project + 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/QA/com.company.borepin-Signed.apk # saving apk to copy to deploy folder + - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests + # test_job: # stage: test # tags: