Skip to content

Commit

Permalink
add pipeline configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jasercion committed Aug 7, 2019
1 parent d8de524 commit 034632a
Showing 1 changed file with 56 additions and 3 deletions.
59 changes: 56 additions & 3 deletions azure-pipelines.yml
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)'

0 comments on commit 034632a

Please sign in to comment.