patreon step2: Enable Linux build

I sure as heck don't know what I'm doing :)

patreon_step2: Fix caching

:limesDance: still don't know what I'm doing :limesDance:
This commit is contained in:
lat9nq 2021-07-17 18:41:11 -04:00 committed by lat9nq
parent dc915aff62
commit 69bd6cd490
1 changed files with 31 additions and 4 deletions

View File

@ -8,12 +8,37 @@ variables:
DisplayVersion: $[counter(variables['DisplayPrefix'], 1)] DisplayVersion: $[counter(variables['DisplayPrefix'], 1)]
stages: stages:
- stage: build - stage: build_gcc
displayName: 'build' displayName: 'build-gcc'
jobs: jobs:
- job: build - job: build
timeoutInMinutes: 120 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: pool:
vmImage: windows-2019 vmImage: windows-2019
steps: steps:
@ -28,7 +53,9 @@ stages:
version: $(DisplayVersion) version: $(DisplayVersion)
- stage: release - stage: release
displayName: 'release' displayName: 'release'
dependsOn: build dependsOn:
- build_gcc
- build_msvc
jobs: jobs:
- job: release - job: release
displayName: 'source' displayName: 'source'