mirror of
https://gitlab.com/fabinfra/fabaccess/borepin.git
synced 2025-03-12 23:01:52 +01:00
Update .gitlab-ci.yml
This commit is contained in:
parent
1640a410ff
commit
bb4bfedf53
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user