pipelines: adopt shared compilation

This commit is contained in:
Joao Moreno 2019-07-01 16:54:51 +02:00
parent 8af2dbb3b9
commit 219a2f2262
3 changed files with 5 additions and 20 deletions

View file

@ -77,13 +77,9 @@ steps:
- script: |
set -e
VSCODE_MIXIN_PASSWORD="$(github-distro-mixin-password)" \
yarn gulp vscode-darwin-min
VSCODE_MIXIN_PASSWORD="$(github-distro-mixin-password)" \
yarn gulp vscode-reh-darwin-min
VSCODE_MIXIN_PASSWORD="$(github-distro-mixin-password)" \
yarn gulp vscode-web-darwin-min
yarn gulp darwin-min
AZURE_STORAGE_ACCESS_KEY="$(ticino-storage-key)" \
yarn gulp upload-vscode-sourcemaps
yarn gulp upload-vscode-sourcemaps
displayName: Build
- script: |

View file

@ -77,17 +77,8 @@ steps:
- script: |
set -e
if [[ "$VSCODE_ARCH" == "ia32" ]]; then
VSCODE_MIXIN_PASSWORD="$(github-distro-mixin-password)" \
yarn gulp vscode-linux-$VSCODE_ARCH-min
else
VSCODE_MIXIN_PASSWORD="$(github-distro-mixin-password)" \
yarn gulp vscode-linux-$VSCODE_ARCH-min
VSCODE_MIXIN_PASSWORD="$(github-distro-mixin-password)" \
yarn gulp vscode-reh-linux-$VSCODE_ARCH-min
VSCODE_MIXIN_PASSWORD="$(github-distro-mixin-password)" \
yarn gulp vscode-web-linux-$VSCODE_ARCH-min
fi
VSCODE_MIXIN_PASSWORD="$(github-distro-mixin-password)" \
yarn gulp linux-$VSCODE_ARCH-min
displayName: Build
- script: |

View file

@ -85,9 +85,7 @@ steps:
. build/azure-pipelines/win32/exec.ps1
$ErrorActionPreference = "Stop"
$env:VSCODE_MIXIN_PASSWORD="$(github-distro-mixin-password)"
exec { yarn gulp "vscode-win32-$env:VSCODE_ARCH-min" }
exec { yarn gulp "vscode-reh-win32-$env:VSCODE_ARCH-min" }
exec { yarn gulp "vscode-web-win32-$env:VSCODE_ARCH-min" }
exec { yarn gulp "win32-$env:VSCODE_ARCH-min" }
exec { yarn gulp "vscode-win32-$env:VSCODE_ARCH-inno-updater" }
displayName: Build