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:
parent
1b2bd2c977
commit
4cf53bc429
15
.cirrus.yml
15
.cirrus.yml
|
@ -4,6 +4,8 @@ freebsd_task:
|
||||||
gmake_script: pkg install -y gmake
|
gmake_script: pkg install -y gmake
|
||||||
matrix:
|
matrix:
|
||||||
- name: freebsd_clang
|
- name: freebsd_clang
|
||||||
|
env:
|
||||||
|
CXX: clang++
|
||||||
- name: freebsd_gcc
|
- name: freebsd_gcc
|
||||||
gcc_script: pkg install -y gcc
|
gcc_script: pkg install -y gcc
|
||||||
env:
|
env:
|
||||||
|
@ -13,19 +15,21 @@ freebsd_task:
|
||||||
LC_ALL: en_US.UTF-8
|
LC_ALL: en_US.UTF-8
|
||||||
|
|
||||||
linux_task:
|
linux_task:
|
||||||
container:
|
|
||||||
image: gcc:7
|
|
||||||
locales_script:
|
locales_script:
|
||||||
- apt-get update && apt-get -y install locales
|
- apt-get update && apt-get -y install locales
|
||||||
- echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
|
- echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
|
||||||
- locale-gen en_US.UTF-8
|
- locale-gen en_US.UTF-8
|
||||||
matrix:
|
matrix:
|
||||||
- name: linux_clang
|
- name: linux_clang
|
||||||
|
container:
|
||||||
|
image: silkeh/clang:5
|
||||||
|
clang_script:
|
||||||
|
- apt-get -y install pkg-config libncursesw5-dev
|
||||||
env:
|
env:
|
||||||
CXX: clang++
|
CXX: clang++
|
||||||
clang_script:
|
|
||||||
- apt-get -y install clang
|
|
||||||
- name: linux_gcc
|
- name: linux_gcc
|
||||||
|
container:
|
||||||
|
image: gcc:7
|
||||||
test_script: make test
|
test_script: make test
|
||||||
env:
|
env:
|
||||||
LC_ALL: en_US.UTF-8
|
LC_ALL: en_US.UTF-8
|
||||||
|
@ -38,4 +42,7 @@ macos_task:
|
||||||
env:
|
env:
|
||||||
CXX: clang++
|
CXX: clang++
|
||||||
- name: macos_gcc
|
- name: macos_gcc
|
||||||
|
gcc_script: brew install gcc@7
|
||||||
|
env:
|
||||||
|
CXX: g++-7
|
||||||
test_script: make test
|
test_script: make test
|
||||||
|
|
Loading…
Reference in New Issue
Block a user