-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
56 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,65 @@ | ||
# Starter pipeline | ||
# Start with a minimal pipeline that you can customize to build and deploy your code. | ||
# Add steps that build, run tests, deploy, and more: | ||
# https://aka.ms/yaml | ||
|
||
trigger: | ||
- master | ||
- patch_branch | ||
|
||
resources: | ||
repositories: | ||
- repository: fermitools-conda | ||
- repository: ci | ||
type: github | ||
name: fermi-lat | ||
name: fermi-lat/ci | ||
endpoint: fermi-lat | ||
|
||
variables: | ||
- group: DevOps Access Keys | ||
- name: repo | ||
value: tip | ||
|
||
stages: | ||
- template: azure-pipeline.yml@fermitools-conda | ||
|
||
##################################### | ||
# Linux Stage - Microsoft Hosted VMs | ||
##################################### | ||
|
||
### Linux Build Stage ### | ||
- stage: linux_build_stage | ||
displayName: 'Building package on Ubuntu' | ||
jobs: | ||
- template: azure_templates/azure-buildrepolinux-template.yml@ci | ||
parameters: | ||
repo: '$(repo)' | ||
##################################### | ||
|
||
##################################### | ||
# MacOS Stage - Microsoft Hosted VMs | ||
##################################### | ||
|
||
### MacOS Build Stage ### | ||
- stage: macos_build_stage | ||
displayName: 'Building package on MacOS' | ||
dependsOn: [] | ||
|
||
jobs: | ||
- template: azure_templates/azure-buildrepomacos-template.yml@ci | ||
parameters: | ||
repo: '$(repo)' | ||
##################################### | ||
|
||
##################################### | ||
# Fermitools-Conda Update Stage | ||
##################################### | ||
|
||
- stage: pipeline_launch_stage | ||
displayName: 'Launch Fermitools CI Pipeline' | ||
dependsOn: | ||
- linux_build_stage | ||
- macos_build_stage | ||
condition: and(succeeded('linux_build_stage'), succeeded('macos_build_stage')) | ||
jobs: | ||
- template: azure_templates/azure-fermitoolsupdate-template.yml@ci | ||
parameters: | ||
repo: '$(repo)' |