diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 56cc7e7..e6b43e5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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