From dd4ea8de096cc68f91ae05799408619bb4fa5867 Mon Sep 17 00:00:00 2001 From: Silvio Kunaschk Date: Thu, 9 May 2019 18:42:48 +0200 Subject: [PATCH] added Linux Clang build job to CI --- azure-pipelines.yml | 25 ++++++++++++++++++++++++- conan_profile_linux_clang6.0 | 13 +++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 conan_profile_linux_clang6.0 diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c4d44256..13cc622e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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 diff --git a/conan_profile_linux_clang6.0 b/conan_profile_linux_clang6.0 new file mode 100644 index 00000000..7f25ac46 --- /dev/null +++ b/conan_profile_linux_clang6.0 @@ -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]