Skip to content

Commit

Permalink
ci,azure-pipelines: add initial yaml file
Browse files Browse the repository at this point in the history
Copied from the libiio repo.

Signed-off-by: Alexandru Ardelean <[email protected]>
  • Loading branch information
commodo committed Dec 10, 2020
1 parent d2a96a3 commit 259e35e
Showing 1 changed file with 118 additions and 0 deletions.
118 changes: 118 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
trigger:
- main
- master
- staging/*
- 20*

pr:
- main
- master
- 20*

jobs:
- job: centos_7_x86_64
pool:
vmImage: 'ubuntu-latest'
variables:
OS_TYPE: centos_docker
OS_VERSION: 7
steps:
- checkout: self
fetchDepth: 1
clean: true
- script: ./CI/travis/before_install_linux
displayName: "Install Dependencies"
- script: ./CI/travis/make_linux
displayName: "Build"

- job: centos_8_x86_64
pool:
vmImage: 'ubuntu-latest'
variables:
OS_TYPE: centos_docker
OS_VERSION: 8
steps:
- checkout: self
fetchDepth: 1
clean: true
- script: ./CI/travis/before_install_linux
displayName: "Install Dependencies"
- script: ./CI/travis/make_linux
displayName: "Build"

- job: ubuntu_16_04_x86_64
pool:
vmImage: 'ubuntu-16.04'
steps:
- checkout: self
fetchDepth: 1
clean: true
- script: ./CI/travis/before_install_linux
displayName: "Install Dependencies"
- script: ./CI/travis/make_linux
displayName: "Build"

- job: ubuntu_18_04_x86_64
pool:
vmImage: 'ubuntu-18.04'
steps:
- checkout: self
fetchDepth: 1
clean: true
- script: ./CI/travis/before_install_linux
displayName: "Install Dependencies"
- script: ./CI/travis/make_linux
displayName: "Build"

- job: ubuntu_20_04_x86_64
pool:
vmImage: 'ubuntu-20.04'
steps:
- checkout: self
fetchDepth: 1
clean: true
- script: ./CI/travis/before_install_linux
displayName: "Install Dependencies"
- script: ./CI/travis/make_linux
displayName: "Build"

- job: macos_10_14
pool:
vmImage: 'macos-10.14'
steps:
- checkout: self
fetchDepth: 1
clean: true
- script: ./CI/travis/before_install_darwin
displayName: "Install Dependencies"
- script: ./CI/travis/make_darwin
displayName: "Build"

- job: macos_10_15
pool:
vmImage: 'macos-10.15'
steps:
- checkout: self
fetchDepth: 1
clean: true
- script: ./CI/travis/before_install_darwin
displayName: "Install Dependencies"
- script: ./CI/travis/make_darwin
displayName: "Build"

# FIXME: uncomment after this is resolved:
# https://github.com/actions/virtual-environments/issues/2072
# Mac OS X 11.0 is definitely a big thing (with their switch to ARM,
# so we should be quick to have it)
#
# - job: macos_11_0
# pool:
# vmImage: 'macos-11.0'
# steps:
# - checkout: self
# fetchDepth: 1
# clean: true
# - script: ./CI/travis/before_install_darwin
# displayName: "Install Dependencies"
# - script: ./CI/travis/make_darwin
# displayName: "Build"

0 comments on commit 259e35e

Please sign in to comment.