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.
This commit is contained in:
Frank LENORMAND 2019-12-15 09:25:36 +01:00
parent 1b2bd2c977
commit 4cf53bc429

View File

@ -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