summaryrefslogtreecommitdiffstats
path: root/.ci/yuzu-patreon-step2.yml
blob: 71a23ebe62bbe374cd7bbc13683826fa330fde6f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
# SPDX-License-Identifier: GPL-2.0-or-later

trigger:
- master

variables:
  DisplayVersion: $[counter(variables['DisplayPrefix'], 1)]

stages:
- stage: build
  displayName: 'build'
  jobs:
  - job: linux
    timeoutInMinutes: 120
    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)
  - job: msvc
    timeoutInMinutes: 120
    displayName: 'windows'
    pool:
      vmImage: windows-2022
    steps:
    - template: ./templates/sync-source.yml
      parameters:
        artifactSource: $(parameters.artifactSource)
        needSubmodules: 'true'
    - template: ./templates/build-msvc.yml
      parameters:
        artifactSource: 'false'
        cache: $(parameters.cache)
        version: $(DisplayVersion)
- stage: release
  displayName: 'release'
  dependsOn: build
  jobs:
    - job: release
      displayName: 'source'
      pool:
        vmImage: 'ubuntu-latest'
      steps:
        - template: ./templates/release-private-tag.yml