mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-29 10:12:46 +01:00
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:
parent
dc915aff62
commit
69bd6cd490
1 changed files with 31 additions and 4 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue