-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci,azure-pipelines: add initial yaml file
Copied from the libiio repo. Signed-off-by: Alexandru Ardelean <[email protected]>
- Loading branch information
Showing
1 changed file
with
118 additions
and
0 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 |
---|---|---|
@@ -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" |