From b0bddc62a29181bfd9ac1e9e899b5c0744e34f09 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Mon, 23 Dec 2024 12:14:15 +0100 Subject: [PATCH] modifica yaml --- .gitlab-ci.yml | 81 +++++++++++++++++++++++++++----------------------- 1 file changed, 44 insertions(+), 37 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 48172e1..8255f8e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -171,7 +171,6 @@ EgwProxy.Ftp:build: - win variables: APP_NAME: EgwProxy.Ftp - SOL_NAME: EgwProxy.FTP rules: - if: $CI_COMMIT_BRANCH == 'develop' changes: @@ -180,10 +179,6 @@ EgwProxy.Ftp:build: - if: $CI_COMMIT_BRANCH == 'SDK/Ftp' changes: - EgwProxy.Ftp/* -# only: -# refs: -# - develop -# - SDK/Ftp before_script: - *nuget-fix - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet' @@ -191,39 +186,51 @@ EgwProxy.Ftp:build: script: - '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=Release /p:Platform="x86" /p:OutputPath=bin/ /nodeReuse:false /verbosity:minimal /m' -# EgwProxy.Icoel:build: -# stage: build -# tags: -# - win -# variables: -# APP_NAME: EgwProxy.Icoel -# only: -# refs: -# - develop -# - SDK/Icoel -# before_script: -# - *nuget-fix -# - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet' -# - *version-fix -# script: -# - '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=Release /p:Platform="x86" /p:OutputPath=bin/ /nodeReuse:false /verbosity:minimal /m' +EgwProxy.Icoel:build: + stage: build + tags: + - win + variables: + APP_NAME: EgwProxy.Icoel + rules: + - if: $CI_COMMIT_BRANCH == 'develop' + changes: + - EgwProxy.Icoel/* + when: always + - if: $CI_COMMIT_BRANCH == 'SDK/Icoel' + changes: + - EgwProxy.Icoel/* + before_script: + - *nuget-fix + - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet' + - *version-fix + script: + - '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=Release /p:Platform="x86" /p:OutputPath=bin/ /nodeReuse:false /verbosity:minimal /m' -# EgwProxy.MultiCncLib:build: -# stage: build -# tags: -# - win -# variables: -# APP_NAME: EgwProxy.MultiCncLib -# only: -# refs: -# - develop -# - SDK/MultiCnc -# before_script: -# - *nuget-fix -# - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet' -# - *version-fix -# script: -# - '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.vbproj" -target:Build /p:Configuration=Release /p:Platform="x86" /p:OutputPath=bin/ /nodeReuse:false /verbosity:minimal /m' +EgwProxy.MultiCncLib:build: + stage: build + tags: + - win + variables: + APP_NAME: EgwProxy.MultiCncLib + rules: + - if: $CI_COMMIT_BRANCH == 'develop' + changes: + - EgwProxy.MultiCncLib/* + when: always + - if: $CI_COMMIT_BRANCH == 'SDK/MultiCncLib' + changes: + - EgwProxy.MultiCncLib/* + only: + refs: + - develop + - SDK/MultiCnc + before_script: + - *nuget-fix + - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet' + - *version-fix + script: + - '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.vbproj" -target:Build /p:Configuration=Release /p:Platform="x86" /p:OutputPath=bin/ /nodeReuse:false /verbosity:minimal /m' # EgwProxy.OsaiCncLib:build: # stage: build