Merge remote-tracking branch 'origin/cicd' into FirstPage

This commit is contained in:
TheJoKlLa 2021-01-29 18:42:19 +01:00
commit bf9b2f19b7

View File

@ -23,6 +23,7 @@
# place project specific paths in variables to make the rest of the script more generic
variables:
GIT_SUBMODULE_STRATEGY: recursive
LIB_RELEASE_FOLDER: 'Borepin\Borepin\bin\Release'
UWP_RELEASE_FOLDER: 'Borepin\Borepin.UWP\bin\x86\Release'
TEST_FOLDER: 'Tests\bin\Release'
@ -101,6 +102,21 @@ build_iOS:
- Borepin/Borepin.iOS/bin/iPhone/Debug/Borepin.app.dSYM
- '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests
build_GTK:
stage: build
image: registry.gitlab.com/fabinfra/gtk-sharp-build:latest
tags:
- docker
# only:
# - tags # the build process will only be started by git tag commits
script:
- 'nuget restore' # restore Nuget dependencies
- 'msbuild -t:Borepin_GTK' # 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.GTK/bin/Debug/
# test_job:
# stage: test
# tags: