mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
* Updating the linux build image * adding python to docker file * adding more required libs
89 lines
2.3 KiB
YAML
89 lines
2.3 KiB
YAML
resources:
|
|
containers:
|
|
- container: linux-x64
|
|
image: sqltoolscontainers.azurecr.io/linux-build-agent:6
|
|
endpoint: SqlToolsContainers
|
|
|
|
jobs:
|
|
- job: Compile
|
|
pool:
|
|
vmImage: 'Ubuntu-18.04'
|
|
container: linux-x64
|
|
steps:
|
|
- script: |
|
|
set -e
|
|
echo "##vso[build.addbuildtag]$(VSCODE_QUALITY)"
|
|
displayName: Add Quality Build Tag
|
|
- template: sql-product-compile.yml
|
|
timeoutInMinutes: 120
|
|
|
|
- job: macOS
|
|
condition: and(succeeded(), eq(variables['VSCODE_BUILD_MACOS'], 'true'), ne(variables['VSCODE_QUALITY'], 'saw'))
|
|
pool:
|
|
vmImage: 'macOS-10.15'
|
|
dependsOn:
|
|
- Compile
|
|
steps:
|
|
- template: darwin/sql-product-build-darwin.yml
|
|
timeoutInMinutes: 90
|
|
|
|
- job: macOS_Signing
|
|
condition: and(succeeded(), eq(variables['VSCODE_BUILD_MACOS'], 'true'), eq(variables['signed'], true), ne(variables['VSCODE_QUALITY'], 'saw'))
|
|
pool:
|
|
vmImage: 'macOS-10.15'
|
|
dependsOn:
|
|
- macOS
|
|
steps:
|
|
- template: darwin/sql-product-build-darwin-signing.yml
|
|
timeoutInMinutes: 60
|
|
|
|
- job: Linux
|
|
condition: and(succeeded(), eq(variables['VSCODE_BUILD_LINUX'], 'true'))
|
|
pool:
|
|
vmImage: 'Ubuntu-18.04'
|
|
container: linux-x64
|
|
dependsOn:
|
|
- Compile
|
|
steps:
|
|
- template: linux/sql-product-build-linux.yml
|
|
parameters:
|
|
extensionsToUnitTest: ["admin-tool-ext-win", "agent", "azcli", "azurecore", "cms", "dacpac", "data-workspace", "import", "machine-learning", "notebook", "resource-deployment", "schema-compare", "sql-database-projects"]
|
|
timeoutInMinutes: 90
|
|
|
|
- job: Windows
|
|
condition: and(succeeded(), eq(variables['VSCODE_BUILD_WIN32'], 'true'))
|
|
pool:
|
|
vmImage: 'windows-2019'
|
|
dependsOn:
|
|
- Compile
|
|
steps:
|
|
- template: win32/sql-product-build-win32.yml
|
|
timeoutInMinutes: 90
|
|
|
|
- job: Windows_Test
|
|
condition: and(succeeded(), eq(variables['VSCODE_BUILD_WIN32'], 'true'))
|
|
pool:
|
|
name: mssqltools
|
|
dependsOn:
|
|
- Linux
|
|
- Windows
|
|
steps:
|
|
- template: win32/sql-product-test-win32.yml
|
|
timeoutInMinutes: 90
|
|
|
|
- job: Release
|
|
condition: and(succeeded(), or(eq(variables['VSCODE_RELEASE'], 'true'), and(eq(variables['VSCODE_QUALITY'], 'insider'), eq(variables['Build.Reason'], 'Schedule'))))
|
|
pool:
|
|
vmImage: 'Ubuntu-18.04'
|
|
dependsOn:
|
|
- macOS
|
|
- Linux
|
|
- Windows
|
|
- Windows_Test
|
|
- macOS_Signing
|
|
steps:
|
|
- template: sql-release.yml
|
|
|
|
trigger: none
|
|
pr: none
|