Aggiunto view optimizer

This commit is contained in:
marco.salvi
2022-03-31 15:12:55 +02:00
parent affd519bc8
commit 8f12378299
+41 -10
View File
@@ -50,21 +50,16 @@ variables:
echo "Created HASH files for $Target"
.cleanup-zip: &cleanup-zip
.cleanup-dir: &cleanup-dir
- |
$env:OUTPUT_DIR = "Releases\" + $CI_COMMIT_BRANCH + "\*"
if ((Test-Path $env:OUTPUT_DIR))
{
Remove-Item $env:OUTPUT_DIR -Force -Recurse -ErrorAction Ignore
}
echo "Clening ZIP dir: $env:OUTPUT_DIR"
rm $env:APP_NAME\bin\$env:ARCH\$env:VERS_RD\*.xml
rm $env:APP_NAME\bin\$env:ARCH\$env:VERS_RD\*.pdb
stages:
- build
- deploy
Supervisor_x86R:build:
Supervisor_x86:build:
stage: build
tags:
- win
@@ -78,9 +73,10 @@ Supervisor_x86R:build:
- *MakeFolderM
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.vbproj" -target:Build /p:Configuration=$env:VERS_RD /p:Platform="$env:ARCH" /p:OutputPath=bin/$env:ARCH/$env:VERS_RD/ /verbosity:minimal /m'
- *cleanup-dir
- *ReplicaCompiled
Supervisor_x64R:build:
Supervisor_x64:build:
stage: build
tags:
- win
@@ -94,4 +90,39 @@ Supervisor_x64R:build:
- *MakeFolderM
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.vbproj" -target:Build /p:Configuration=$env:VERS_RD /p:Platform="$env:ARCH" /p:OutputPath=bin/$env:ARCH/$env:VERS_RD/ /verbosity:minimal /m'
- *cleanup-dir
- *ReplicaCompiled
ViewOptimizer:build:
stage: build
tags:
- win
variables:
APP_NAME: EgtBEAMWALL.ViewOptmizer
VERS_RD: 'Release'
ARCH: 'x86'
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore EgtBEAMWALL.sln -verbosity quiet'
- *MakeFolderM
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.vbproj" -target:Build /p:Configuration=$env:VERS_RD /p:Platform="$env:ARCH" /p:OutputPath=bin/$env:ARCH/$env:VERS_RD/ /verbosity:minimal /m'
- *cleanup-dir
- *ReplicaCompiled
ViewOptimizer_x64:build:
stage: build
tags:
- win
variables:
APP_NAME: EgtBEAMWALL.ViewOptmizer
VERS_RD: 'Release'
ARCH: 'x64'
before_script:
- *nuget-fix
- '& "$env:NUGET_PATH" restore EgtBEAMWALL.sln -verbosity quiet'
- *MakeFolderM
script:
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.vbproj" -target:Build /p:Configuration=$env:VERS_RD /p:Platform="$env:ARCH" /p:OutputPath=bin/$env:ARCH/$env:VERS_RD/ /verbosity:minimal /m'
- *cleanup-dir
- *ReplicaCompiled