Initial cut at azure pipline build

azure-pipelines
Joseph Donofry 6 years ago
parent 4f1ae96025
commit 4a6b9f7b42
No known key found for this signature in database
GPG Key ID: E8A1D78EF044B0CB
  1. 13
      .ci/azure-build.yml
  2. 36
      azure-pipelines.yml

@ -0,0 +1,13 @@
steps:
- script: |
export CXX=${CXX_COMPILER}
export CC=${C_COMPILER}
# Use TRAVIS_TAG if defined, or the short commit SHA otherwise
export VERSION=${TRAVIS_TAG:-$(git rev-parse --short HEAD)}
- script: |
./.ci/script.sh
sed -i -e "s/VERSION_NAME_VALUE/${VERSION}/g" ./.ci/bintray-release.json || true
cp ./.ci/bintray-release.json .
- script: |
./.ci/install.sh
export PATH=/usr/local/bin:${PATH}

@ -4,16 +4,32 @@
# https://aka.ms/yaml
trigger:
- master
- master
- releases/*
pool:
vmImage: 'ubuntu-latest'
pr:
- master
- releases/*
steps:
- script: echo Hello, world!
displayName: 'Run a one-line script'
stages:
- stage: Build
jobs:
- job: Linux
pool:
vmImage: 'ubuntu-16.04'
- script: |
echo Add other tasks to build, test, and deploy your project.
echo See https://aka.ms/yaml
displayName: 'Run a multi-line script'
steps:
- template: .ci/azure-build.yml
- job: macOS
pool:
vmImage: 'macOS-10.12'
steps:
- template: .ci/azure-build.yml
- job: Windows
pool:
vmImage: 'vs2017-win2016'
steps:
- template: .ci/azure-build.yml
Loading…
Cancel
Save