Skip to content

Commit

Permalink
ci: Shared setup stage
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Nov 25, 2024
1 parent d49b2d9 commit 5d198f5
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 31 deletions.
18 changes: 2 additions & 16 deletions build/ci/.azure-devops-stages-docs.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,9 @@

stages:
- stage: Setup
- stage: setup
displayName: Setup
jobs:
- template: .azure-devops-commitsar.yml
parameters:
vmImage: '$(linuxVMImage)'

- template: .azure-devops-spell-check.yml
parameters:
vmImage: '$(linuxVMImage)'

- template: .azure-devops-markdown-lint.yml
parameters:
vmImage: '$(linuxVMImage)'

- template: .azure-devops-pipeline-validations.yml
parameters:
vmImage: '$(linuxVMImage)'
- template: .azure-devops-setup.yml

- stage: docs_generation
displayName: Docs Generation
Expand Down
16 changes: 1 addition & 15 deletions build/ci/.azure-devops-stages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,7 @@ stages:
- stage: setup
displayName: Setup
jobs:
- template: .azure-devops-commitsar.yml
parameters:
vmImage: '$(linuxVMImage)'

- template: .azure-devops-spell-check.yml
parameters:
vmImage: '$(linuxVMImage)'

- template: .azure-devops-markdown-lint.yml
parameters:
vmImage: '$(linuxVMImage)'

- template: .azure-devops-pipeline-validations.yml
parameters:
vmImage: '$(linuxVMImage)'
- template: .azure-devops-setup.yml

- stage: convert_tree
displayName: UWP Tree Conversion
Expand Down
16 changes: 16 additions & 0 deletions build/ci/setup/.azure-devops-setup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
jobs:
- template: .azure-devops-commitsar.yml
parameters:
vmImage: '$(linuxVMImage)'

- template: .azure-devops-spell-check.yml
parameters:
vmImage: '$(linuxVMImage)'

- template: .azure-devops-markdown-lint.yml
parameters:
vmImage: '$(linuxVMImage)'

- template: .azure-devops-pipeline-validations.yml
parameters:
vmImage: '$(linuxVMImage)'

0 comments on commit 5d198f5

Please sign in to comment.