Skip to content

Commit

Permalink
azure_pipelines.yml: add trigger for libad9361-iio-v0 branch
Browse files Browse the repository at this point in the history
Creating a new branch for libad9361-iio-v0 that will work with libiio-v0
provind support for the old API.
Also adding the new branch to trigger pipeline build when commits are
pushed and PRs are raised.

Signed-off-by: Andreea Andrisan <[email protected]>
  • Loading branch information
AAndrisa committed Oct 13, 2023
1 parent a24e263 commit 2d2d7a9
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
variables:
libiioPipelineId: 9
downlaodBranch: 'refs/heads/libiio-v0'

trigger:
branches:
include:
- main
- master
- staging/*
- libad9361-iio-v0
- 20*
tags:
include:
Expand All @@ -17,6 +19,7 @@ pr:
include:
- main
- master
- libad9361-iio-v0
- 20*

jobs:
Expand Down Expand Up @@ -48,7 +51,7 @@ jobs:
pipeline: $(libiioPipelineId)
artifact: '$(artifactName)'
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/master'
runBranch: $(downlaodBranch)
path: '$(Agent.BuildDirectory)/s/build/'
- script: |
set -e
Expand Down Expand Up @@ -143,7 +146,7 @@ jobs:
pipeline: $(libiioPipelineId)
artifact: '$(artifactName)'
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/master'
runBranch: $(downlaodBranch)
path: '$(Agent.BuildDirectory)/s/build/'
- script: |
set -e
Expand Down Expand Up @@ -194,7 +197,7 @@ jobs:
pipeline: $(libiioPipelineId)
artifact: '$(artifactName)'
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/master'
runBranch: $(downlaodBranch)
path: '$(Agent.BuildDirectory)/s/build/'
- script: ./CI/travis/before_install_darwin
displayName: "Install Dependencies"
Expand Down Expand Up @@ -240,7 +243,7 @@ jobs:
pipeline: $(libiioPipelineId)
artifact: '$(artifactName)'
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/master'
runBranch: $(downlaodBranch)
path: '$(Agent.BuildDirectory)/s/build/'
- task: PowerShell@2
inputs:
Expand Down

0 comments on commit 2d2d7a9

Please sign in to comment.