Skip to content

Commit 5b3eff0

Browse files
committed
add LinuxSnap build step
1 parent 636ad4f commit 5b3eff0

3 files changed

Lines changed: 18 additions & 0 deletions

File tree

build/tfs/common/publish.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,11 @@ async function publish(commit: string, quality: string, platform: string, type:
265265
}
266266

267267
function main(): void {
268+
if (process.env['VSCODE_BUILD_SKIP_PUBLISH']) {
269+
console.warn('Skipping publish due to VSCODE_BUILD_SKIP_PUBLISH');
270+
return;
271+
}
272+
268273
const opts = minimist<PublishOptions>(process.argv.slice(2), {
269274
boolean: ['upload-only']
270275
});
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
steps:
2+
- script: |
3+
echo hello from the snap build

build/tfs/product-build.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@ jobs:
3434
steps:
3535
- template: linux/product-build-linux.yml
3636

37+
- job: LinuxSnap
38+
condition: eq(variables['VSCODE_BUILD_LINUX'], 'true')
39+
pool:
40+
vmImage: 'Ubuntu-16.04'
41+
variables:
42+
VSCODE_ARCH: x64
43+
dependsOn: Linux
44+
steps:
45+
- template: linux/snap-build-linux.yml
46+
3747
- job: Linux32
3848
condition: eq(variables['VSCODE_BUILD_LINUX_32BIT'], 'true')
3949
pool:

0 commit comments

Comments
 (0)