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

View file

@ -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'