Browse Source

added Linux Clang build job to CI

pull/1278/head
Silvio Kunaschk 6 years ago
parent
commit
dd4ea8de09
2 changed files with 37 additions and 1 deletions
  1. +24
    -1
      azure-pipelines.yml
  2. +13
    -0
      conan_profile_linux_clang6.0

+ 24
- 1
azure-pipelines.yml View File

@@ -14,7 +14,7 @@ variables:
jobs:
# Todo - run Linux build in a container with a more recent Ubuntu version, maybe also try CentOS and Arch builds?
- job: Linux
- job: LinuxGCC
pool:
vmImage: Ubuntu-16.04
steps:
@@ -37,6 +37,29 @@ jobs:
cmake -DCMAKE_BUILD_TYPE=Release ..
VERBOSE=1 make -j
displayName: build VCVRack
- job: LinuxClang
pool:
vmImage: Ubuntu-16.04
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: $(python-version)
- script: |
export PATH="$PATH:/home/vsts/.local/bin"
sudo apt install -y python3-setuptools
pip install --user --upgrade pip
pip install --user $(conan-pkg)
pip install --user $(cpt-pkg) $(bpt-pkg)
conan user
conan remote add conan-community https://api.bintray.com/conan/conan-community/conan
conan remote add qno https://api.bintray.com/conan/qno/conan-public
conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
pushd .
mkdir build && cd build
conan install .. -s build_type=Release --profile ../conan_profile_linux_clang6.0 --build=missing
cmake -DCMAKE_BUILD_TYPE=Release ..
VERBOSE=1 make -j
displayName: build VCVRack
- job: MacOS1014
pool:
vmImage: macOS-10.14


+ 13
- 0
conan_profile_linux_clang6.0 View File

@@ -0,0 +1,13 @@
# this is a conan profile for Linux Clang 6.0
[settings]
os=Linux
os_build=Linux
arch=x86_64
arch_build=x86_64
compiler=clang
compiler.version=6.0
compiler.libcxx=libstdc++11
build_type=Release
[options]
[build_requires]
[env]

Loading…
Cancel
Save