summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank LENORMAND <lenormf@gmail.com>2019-12-15 09:25:36 +0100
committerFrank LENORMAND <lenormf@gmail.com>2019-12-15 16:56:54 +0100
commit4cf53bc429424dcb897fb910a4fca8f8387878d0 (patch)
treeebe4e9ffff1a4c8a15c453f333b78d8430e029fc
parent1b2bd2c9774016c6b83df42cb218367455ab0b79 (diff)
cirrus: Target specific compiler versions
Installing a specific version of Clang on Mac OS/FreeBSD seems complicated, therefore the current C.I. builds will keep using whatever version is already available in the image.
-rw-r--r--.cirrus.yml15
1 files changed, 11 insertions, 4 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index e9e3d142..aaaa60d4 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -4,6 +4,8 @@ freebsd_task:
gmake_script: pkg install -y gmake
matrix:
- name: freebsd_clang
+ env:
+ CXX: clang++
- name: freebsd_gcc
gcc_script: pkg install -y gcc
env:
@@ -13,19 +15,21 @@ freebsd_task:
LC_ALL: en_US.UTF-8
linux_task:
- container:
- image: gcc:7
locales_script:
- apt-get update && apt-get -y install locales
- echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
- locale-gen en_US.UTF-8
matrix:
- name: linux_clang
+ container:
+ image: silkeh/clang:5
+ clang_script:
+ - apt-get -y install pkg-config libncursesw5-dev
env:
CXX: clang++
- clang_script:
- - apt-get -y install clang
- name: linux_gcc
+ container:
+ image: gcc:7
test_script: make test
env:
LC_ALL: en_US.UTF-8
@@ -38,4 +42,7 @@ macos_task:
env:
CXX: clang++
- name: macos_gcc
+ gcc_script: brew install gcc@7
+ env:
+ CXX: g++-7
test_script: make test