|
|
|
@ -8,12 +8,37 @@ variables:
|
|
|
|
|
DisplayVersion: $[counter(variables['DisplayPrefix'], 1)]
|
|
|
|
|
|
|
|
|
|
stages:
|
|
|
|
|
- stage: build
|
|
|
|
|
displayName: 'build'
|
|
|
|
|
- stage: build_gcc
|
|
|
|
|
displayName: 'build-gcc'
|
|
|
|
|
jobs:
|
|
|
|
|
- job: build
|
|
|
|
|
timeoutInMinutes: 120
|
|
|
|
|
displayName: 'windows-msvc'
|
|
|
|
|
displayName: 'linux'
|
|
|
|
|
pool:
|
|
|
|
|
vmImage: ubuntu-latest
|
|
|
|
|
strategy:
|
|
|
|
|
maxParallel: 10
|
|
|
|
|
matrix:
|
|
|
|
|
linux:
|
|
|
|
|
BuildSuffix: 'linux'
|
|
|
|
|
ScriptFolder: 'linux'
|
|
|
|
|
steps:
|
|
|
|
|
- template: ./templates/sync-source.yml
|
|
|
|
|
parameters:
|
|
|
|
|
artifactSource: $(parameters.artifactSource)
|
|
|
|
|
needSubmodules: 'true'
|
|
|
|
|
- template: ./templates/build-single.yml
|
|
|
|
|
parameters:
|
|
|
|
|
artifactSource: 'false'
|
|
|
|
|
cache: $(parameters.cache)
|
|
|
|
|
version: $(DisplayVersion)
|
|
|
|
|
- stage: build_msvc
|
|
|
|
|
dependsOn: []
|
|
|
|
|
displayName: 'build-msvc'
|
|
|
|
|
jobs:
|
|
|
|
|
- job: build
|
|
|
|
|
timeoutInMinutes: 120
|
|
|
|
|
displayName: 'windows'
|
|
|
|
|
pool:
|
|
|
|
|
vmImage: windows-2019
|
|
|
|
|
steps:
|
|
|
|
@ -28,7 +53,9 @@ stages:
|
|
|
|
|
version: $(DisplayVersion)
|
|
|
|
|
- stage: release
|
|
|
|
|
displayName: 'release'
|
|
|
|
|
dependsOn: build
|
|
|
|
|
dependsOn:
|
|
|
|
|
- build_gcc
|
|
|
|
|
- build_msvc
|
|
|
|
|
jobs:
|
|
|
|
|
- job: release
|
|
|
|
|
displayName: 'source'
|
|
|
|
|