diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b4def7d..0f480e0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,8 +3,9 @@ variables: NEW_REL: '' NET_SHARE: '\\10.74.82.50\EgtTech' NET_USER: '10.74.82.50\Server' + NET_SHARE_2: '\\10.74.82.201\Artifacts' -#Note compilaizone LUA: +#Note compilazione LUA: # lua53 -o 32\$FileName -s $FileName: -o = output, -s = NON include i debug symbols # versioni compilazione ANCHE script esterni / eliminati @@ -59,14 +60,27 @@ variables: # helper copia script verso cartella di rete R:\ delle cartelle 32 e 64 .ReplicaCompiled: &ReplicaCompiled - | + net use R: /delete net use R: $env:NET_SHARE /u:$env:NET_USER $RDRIVE_PASSWD ROBOCOPY /MIR 32 R:\EgtData\Beam\32 ROBOCOPY /MIR 64 R:\EgtData\Beam\64 ROBOCOPY /MIR Images R:\EgtData\Beam\32\Images - ROBOCOPY /MIR Images R:\EgtData\Beam264\Images + ROBOCOPY /MIR Images R:\EgtData\Beam\64\Images SLEEP 2 net use R: /delete +# helper copia script verso cartella di rete R:\ delle cartelle 32 e 64 +.ReplicaZ: &ReplicaZ + - | + net use Z: /delete + net use Z: $env:NET_SHARE_2 + ROBOCOPY /MIR 32 Z:\EgtData\Beam\32 + ROBOCOPY /MIR 64 Z:\EgtData\Beam\64 + ROBOCOPY /MIR Images Z:\EgtData\Beam\32\Images + ROBOCOPY /MIR Images Z:\EgtData\Beam\64\Images + SLEEP 2 + net use Z: /delete + stages: - build @@ -81,4 +95,17 @@ LuaCompile:build: - *LuaCompile32 - *LuaCompile64 - *ReplicaCompiled + - *ReplicaZ + +LuaCompileTest:build: + stage: build + except: + - main + - master + tags: + - win + script: + - *LuaCompile32 + - *LuaCompile64 + - *ReplicaZ # after_script: \ No newline at end of file