mirror of https://git.suyu.dev/suyu/suyu
parent
f601f25bcc
commit
12514ccd35
|
@ -14,7 +14,7 @@ steps:
|
||||||
cacheHitVar: CACHE_RESTORED
|
cacheHitVar: CACHE_RESTORED
|
||||||
- script: chmod a+x ./.ci/scripts/$(ScriptFolder)/exec.sh && ./.ci/scripts/$(ScriptFolder)/exec.sh
|
- script: chmod a+x ./.ci/scripts/$(ScriptFolder)/exec.sh && ./.ci/scripts/$(ScriptFolder)/exec.sh
|
||||||
displayName: 'Build'
|
displayName: 'Build'
|
||||||
- script: chmod a+x ./.ci/scripts/$(ScriptFolder)/upload.sh && ./.ci/scripts/$(ScriptFolder)/upload.sh
|
- script: chmod a+x ./.ci/scripts/$(ScriptFolder)/upload.sh && RELEASE_NAME=$(BuildName) ./.ci/scripts/$(ScriptFolder)/upload.sh
|
||||||
displayName: 'Package Artifacts'
|
displayName: 'Package Artifacts'
|
||||||
- publish: artifacts
|
- publish: artifacts
|
||||||
artifact: 'yuzu-$(BuildName)-$(BuildSuffix)'
|
artifact: 'yuzu-$(BuildName)-$(BuildSuffix)'
|
||||||
|
|
|
@ -4,18 +4,20 @@ jobs:
|
||||||
pool:
|
pool:
|
||||||
vmImage: ubuntu-latest
|
vmImage: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
maxParallel: 10
|
maxParallel: 5
|
||||||
matrix:
|
matrix:
|
||||||
windows:
|
windows:
|
||||||
BuildSuffix: 'windows-testing'
|
BuildSuffix: 'windows-testing'
|
||||||
ScriptFolder: 'windows'
|
ScriptFolder: 'windows'
|
||||||
steps:
|
steps:
|
||||||
|
- script: pip install requests urllib3
|
||||||
|
displayName: 'Prepare Environment'
|
||||||
- task: PythonScript@0
|
- task: PythonScript@0
|
||||||
condition: eq(variables['Build.Reason'], 'PullRequest')
|
condition: eq(variables['Build.Reason'], 'PullRequest')
|
||||||
displayName: 'Determine Testing Status'
|
displayName: 'Determine Testing Status'
|
||||||
inputs:
|
inputs:
|
||||||
scriptSource: 'filePath'
|
scriptSource: 'filePath'
|
||||||
scriptPath: '../scripts/merge/check-label-presence.py'
|
scriptPath: '.ci/scripts/merge/check-label-presence.py'
|
||||||
arguments: '$(System.PullRequest.PullRequestNumber) create-testing-build'
|
arguments: '$(System.PullRequest.PullRequestNumber) create-testing-build'
|
||||||
- ${{ if eq(variables.enabletesting, 'true') }}:
|
- ${{ if eq(variables.enabletesting, 'true') }}:
|
||||||
- template: ./sync-source.yml
|
- template: ./sync-source.yml
|
||||||
|
|
Loading…
Reference in New Issue