Disable all jobs in CI

This commit is contained in:
TheJoKlLa 2021-09-07 13:10:46 +00:00
parent 85a357fd55
commit d4da6e94cc

View File

@ -33,89 +33,89 @@ variables:
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'
stages:
#stages:
#- build
#- test
#- deploy
build_base:
stage: build
tags:
- xamarin
- windows
#build_base:
# 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' # build the project
artifacts:
expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on
paths:
- '$env:LIB_RELEASE_FOLDER' # saving exe to copy to deploy folder
# script:
# - '& "$env:NUGET_PATH" restore' # restore Nuget dependencies
# - '& "$env:MSBUILD_PATH" /p:Configuration=Release /target:Borepin' # build the project
# artifacts:
# expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on
# paths:
# - '$env:LIB_RELEASE_FOLDER' # saving exe to copy to deploy folder
# - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests
build_UWP:
stage: build
tags:
- xamarin
- windows
#build_UWP:
# 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=Debug /target:Borepin_UWP' # build the project
# script:
# - '& "$env:NUGET_PATH" restore' # restore Nuget dependencies
# - '& "$env:MSBUILD_PATH" /p:Configuration=Debug /target:Borepin_UWP' # build the project
# artifacts:
# expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on
# paths:
# - '$env:UWP_RELEASE_FOLDER' # saving exe to copy to deploy folder
# - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests
build_Android:
stage: build
tags:
- xamarin
- windows
#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:PackageForAndroid /target:Borepin_Android:SignAndroidPackage' # 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.Android/bin/Release/com.companyname.borepin-Signed.apk # saving apk to copy to deploy folder
# script:
# - '& "$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
# 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/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
build_iOS:
stage: build
tags:
- macos
# only:
# - tags # the build process will only be started by git tag commits
script:
- 'nuget restore' # restore Nuget dependencies
- 'msbuild /t:Borepin_iOS /p:Configuration=Debug /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/Debug/Borepin.ipa
- Borepin/Borepin.iOS/bin/iPhone/Debug/Borepin.app.dSYM
# - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests
#build_iOS:
# stage: build
# tags:
# - macos
# # only:
# # - tags # the build process will only be started by git tag commits
# script:
# - 'nuget restore' # restore Nuget dependencies
# - 'msbuild /t:Borepin_iOS /p:Configuration=Debug /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/Debug/Borepin.ipa
# - 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
#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/
# 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