diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2018-10-31 15:01:56 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2018-10-31 15:01:56 +0100 |
commit | 24d87fefe21af441059aa6e9705469dea4143126 (patch) | |
tree | 18da4946b5823e340dfb623de3f9707a9f3ad77c | |
parent | 27c0179d6e04e3648e7f5ff3e23c35673373e7cd (diff) | |
download | ATCD-24d87fefe21af441059aa6e9705469dea4143126.tar.gz |
Add optional clang repositories
* azure-pipelines.yml:
-rw-r--r-- | azure-pipelines.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 348569d4830..0f0c5258730 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -124,19 +124,26 @@ jobs: CC: clang-5.0 CXX: clang++-5.0 PackageDeps: clang-5.0 + RepoDep: ppa:llvm-toolchain-trusty-5.0 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux_clang.GNU CLANG6: CC: clang-6.0 CXX: clang++-6.0 PackageDeps: clang-6.0 + RepoDep: ppa:llvm-toolchain-trusty-6.0 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux_clang.GNU CLANG7: CC: clang-7 CXX: clang++-7 PackageDeps: clang-7 + RepoDep: ppa:llvm-toolchain-trusty-7 platform_file: include $(ACE_ROOT)/include/makeinclude/platform_linux_clang.GNU steps: - script: | + sudo add-apt-repository $(RepoDep) -y + condition: and(succeeded(), ne(variables['RepoDep'], '')) + displayName: install optional repositories + - script: | sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y sudo apt-get --yes update sudo apt-get --yes install libxerces-c-dev libssl-dev $(PackageDeps) |