From 95054e1099dcef094e839426ec8e07ad1f17afdf Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 15 Jan 2025 16:09:59 +0100 Subject: [PATCH] Update yaml x FANUC --- .gitlab-ci.yml | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2799537e..79deaee7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -208,6 +208,19 @@ IOB-WIN: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' +IOB-WIN-FANUC:build: + stage: build + tags: + - win + variables: + APP_NAME: IOB-WIN-FANUC + 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' + IOB-WIN-MBUS:build: stage: build tags: @@ -327,6 +340,31 @@ IOB-WIN:release: - *nexusUpload - *SendToVersionsLog +IOB-WIN-FANUC:release: + stage: release + needs: ["IOB-WIN-FANUC:build"] + tags: + - win + variables: + APP_NAME: IOB-WIN-FANUC + NEXUS_PATH: MAPO/IOB-WIN-FANUC + rules: + - if: $CI_COMMIT_BRANCH == 'master' + changes: + - IOB-WIN-FANUC/* + when: always + before_script: + - *nuget-fix + - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet' + - *version-fix + - *cleanup-zip + 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' + - *zipper + - *hashBuild + - *nexusUpload + - *SendToVersionsLog + IOB-WIN-MBUS:release: stage: release needs: ["IOB-WIN-MBUS:build"] @@ -526,6 +564,26 @@ IOB-WIN-MBUS:docfx: - mv $env:APP_NAME/_site "docfx" - *DocReplica +IOB-WIN-FANUC:docfx: + stage: docfx + needs: ["IOB-WIN-FANUC:build"] + tags: + - win + variables: + APP_NAME: IOB-WIN-FANUC + rules: + - if: $CI_COMMIT_BRANCH == 'master' + changes: + - IOB-WIN-FANUC/* + when: always + before_script: + - *nuget-fix + - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet' + script: + - docfx $env:APP_NAME/docfx.json + - mv $env:APP_NAME/_site "docfx" + - *DocReplica + IOB-WIN-MTC:docfx: stage: docfx needs: ["IOB-WIN-MTC:build"]