From a50741f5677e2dbbc205fdbde67e4976c59804bc Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 7 Jun 2022 16:06:43 +0200 Subject: [PATCH] Altro test compilazione --- .gitlab-ci.yml | 79 +++++++++++++++++++++++++------------------------- 1 file changed, 39 insertions(+), 40 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ad8a6c6..e704771 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -77,32 +77,7 @@ stages: - staging - deploy - release - - -UI:build: - stage: build - tags: - - win - variables: - APP_NAME: MP.MONO.UI - before_script: - - *nuget-fix - - dotnet restore MP.MONO.ALL.sln - script: - - dotnet build $env:APP_NAME/$env:APP_NAME.csproj -SIM:build: - stage: build - tags: - - win - variables: - APP_NAME: MP.MONO.SIM - before_script: - - *nuget-fix - - dotnet restore MP.MONO.ALL.sln - script: - - dotnet build $env:APP_NAME/$env:APP_NAME.csproj - DECODER:build: stage: build tags: @@ -115,6 +90,30 @@ DECODER:build: script: - dotnet build $env:APP_NAME/$env:APP_NAME.csproj +SIM:build: + stage: build + tags: + - win + variables: + APP_NAME: MP.MONO.SIM + before_script: + - *nuget-fix + - dotnet restore MP.MONO.ALL.sln + script: + - dotnet build $env:APP_NAME/$env:APP_NAME.csproj + +UI:build: + stage: build + tags: + - win + variables: + APP_NAME: MP.MONO.UI + before_script: + - *nuget-fix + - dotnet restore MP.MONO.ALL.sln + script: + - dotnet build $env:APP_NAME/$env:APP_NAME.csproj + UI:staging: stage: staging tags: @@ -142,21 +141,6 @@ UI:deploy: # IIS DEV - dotnet publish -p:PublishProfile=IIS03.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release -p:username=jenkins -p:Password=viadante16 -p:AllowUntrustedCertificate=true $env:APP_NAME/$env:APP_NAME.csproj -SIM:release: - stage: release - tags: - - win - only: - - main - variables: - APP_NAME: MP.MONO.SIM - needs: ["SIM:build"] - script: - - dotnet publish -p:PublishProfile=SingleFileX86.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release $env:APP_NAME/$env:APP_NAME.csproj - - *zipper - - *hashBuild - - *nexusUpload - DECODER:release: stage: release tags: @@ -172,6 +156,21 @@ DECODER:release: - *hashBuild - *nexusUpload +SIM:release: + stage: release + tags: + - win + only: + - main + variables: + APP_NAME: MP.MONO.SIM + needs: ["SIM:build"] + script: + - dotnet publish -p:PublishProfile=SingleFileX86.pubxml -p:RunCodeAnalysis=false -p:Configuration=Release $env:APP_NAME/$env:APP_NAME.csproj + - *zipper + - *hashBuild + - *nexusUpload + UI:release: stage: release tags: