mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-11-01 04:47:53 +00:00
cc3db2aa43
* ci: Add mock build alternative for fast testing * ci: Always cache build * ci: Extract steps to download build stage artifacts * ci: Add template to release to GitHub * ci: Add template to release to Azure Universal Artifacts * ci: Split mainline to two pipelines
28 lines
No EOL
534 B
YAML
28 lines
No EOL
534 B
YAML
trigger:
|
|
- master
|
|
|
|
stages:
|
|
- stage: format
|
|
displayName: 'format'
|
|
jobs:
|
|
- job: format
|
|
displayName: 'clang'
|
|
pool:
|
|
vmImage: ubuntu-latest
|
|
steps:
|
|
- template: ./templates/format-check.yml
|
|
- stage: build
|
|
dependsOn: format
|
|
displayName: 'build'
|
|
jobs:
|
|
- template: ./templates/build-standard.yml
|
|
parameters:
|
|
cache: 'true'
|
|
- stage: release
|
|
displayName: 'Release'
|
|
dependsOn: build
|
|
jobs:
|
|
- job: github
|
|
displayName: 'GitHub Release'
|
|
steps:
|
|
- template: ./templates/release-github.yml |