Merge branch 'TheJoKlLa-main-patch-61627' into 'main'

Disable all jobs in CI

See merge request fabinfra/fabaccess/borepin!11
This commit is contained in:
TheJoKlLa 2021-09-07 13:11:17 +00:00
commit 7e29c04575

View File

@ -33,89 +33,89 @@ variables:
MSBUILD_PATH: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\msbuild.exe' MSBUILD_PATH: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\msbuild.exe'
NUNIT_PATH: 'C:\Program Files (x86)\NUnit.org\nunit-console\nunit3-console.exe' NUNIT_PATH: 'C:\Program Files (x86)\NUnit.org\nunit-console\nunit3-console.exe'
stages: #stages:
#- build #- build
#- test #- test
#- deploy #- deploy
build_base: #build_base:
stage: build # stage: build
tags: # tags:
- xamarin # - xamarin
- windows # - windows
# only: # only:
# - tags # the build process will only be started by git tag commits # - tags # the build process will only be started by git tag commits
script: # script:
- '& "$env:NUGET_PATH" restore' # restore Nuget dependencies # - '& "$env:NUGET_PATH" restore' # restore Nuget dependencies
- '& "$env:MSBUILD_PATH" /p:Configuration=Release /target:Borepin' # build the project # - '& "$env:MSBUILD_PATH" /p:Configuration=Release /target:Borepin' # build the project
artifacts: # artifacts:
expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on # expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on
paths: # paths:
- '$env:LIB_RELEASE_FOLDER' # saving exe to copy to deploy folder # - '$env:LIB_RELEASE_FOLDER' # saving exe to copy to deploy folder
# - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests # - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests
build_UWP: #build_UWP:
stage: build # stage: build
tags: # tags:
- xamarin # - xamarin
- windows # - windows
# only: # only:
# - tags # the build process will only be started by git tag commits # - tags # the build process will only be started by git tag commits
script: # script:
- '& "$env:NUGET_PATH" restore' # restore Nuget dependencies # - '& "$env:NUGET_PATH" restore' # restore Nuget dependencies
- '& "$env:MSBUILD_PATH" /p:Configuration=Debug /target:Borepin_UWP' # build the project # - '& "$env:MSBUILD_PATH" /p:Configuration=Debug /target:Borepin_UWP' # build the project
# artifacts: # artifacts:
# expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on # expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on
# paths: # paths:
# - '$env:UWP_RELEASE_FOLDER' # saving exe to copy to deploy folder # - '$env:UWP_RELEASE_FOLDER' # saving exe to copy to deploy folder
# - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests # - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests
build_Android: #build_Android:
stage: build # stage: build
tags: # tags:
- xamarin # - xamarin
- windows # - windows
# only: # only:
# - tags # the build process will only be started by git tag commits # - tags # the build process will only be started by git tag commits
script: # script:
- '& "$env:NUGET_PATH" restore' # restore Nuget dependencies # - '& "$env:NUGET_PATH" restore' # restore Nuget dependencies
- '& "$env:MSBUILD_PATH" /p:Configuration=Release /target:Borepin_Android:PackageForAndroid /target:Borepin_Android:SignAndroidPackage' # build the project /p:AndroidKeyStore=True # - '& "$env:MSBUILD_PATH" /p:Configuration=Release /target:Borepin_Android:PackageForAndroid /target:Borepin_Android:SignAndroidPackage' # build the project /p:AndroidKeyStore=True
artifacts: # artifacts:
expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on # expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on
paths: # paths:
- Borepin/Borepin.Android/bin/Release/com.companyname.borepin-Signed.apk # saving apk to copy to deploy folder # - Borepin/Borepin.Android/bin/Release/com.companyname.borepin-Signed.apk # saving apk to copy to deploy folder
# - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests # - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests
build_iOS: #build_iOS:
stage: build # stage: build
tags: # tags:
- macos # - macos
# only: # # only:
# - tags # the build process will only be started by git tag commits # # - tags # the build process will only be started by git tag commits
script: # script:
- 'nuget restore' # restore Nuget dependencies # - 'nuget restore' # restore Nuget dependencies
- 'msbuild /t:Borepin_iOS /p:Configuration=Debug /p:Platform=iPhone /p:ArchiveOnBuild=true' # build the project /p:AndroidKeyStore=True # - 'msbuild /t:Borepin_iOS /p:Configuration=Debug /p:Platform=iPhone /p:ArchiveOnBuild=true' # build the project /p:AndroidKeyStore=True
artifacts: # artifacts:
expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on # expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on
paths: # paths:
- Borepin/Borepin.iOS/bin/iPhone/Debug/Borepin.ipa # - Borepin/Borepin.iOS/bin/iPhone/Debug/Borepin.ipa
- Borepin/Borepin.iOS/bin/iPhone/Debug/Borepin.app.dSYM # - Borepin/Borepin.iOS/bin/iPhone/Debug/Borepin.app.dSYM
# - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests # # - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests
build_GTK: #build_GTK:
stage: build # stage: build
image: registry.gitlab.com/fabinfra/gtk-sharp-build:latest # image: registry.gitlab.com/fabinfra/gtk-sharp-build:latest
tags: # tags:
- docker # - docker
# only: # only:
# - tags # the build process will only be started by git tag commits # - tags # the build process will only be started by git tag commits
script: # script:
- 'nuget restore' # restore Nuget dependencies # - 'nuget restore' # restore Nuget dependencies
- 'msbuild -t:Borepin_GTK' # build the project /p:AndroidKeyStore=True # - 'msbuild -t:Borepin_GTK' # build the project /p:AndroidKeyStore=True
artifacts: # artifacts:
expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on # expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on
paths: # paths:
- Borepin/Borepin.GTK/bin/Debug/ # - Borepin/Borepin.GTK/bin/Debug/
# test_job: # test_job:
# stage: test # stage: test