From: Denis Ovsienko Date: Sun, 7 May 2023 23:24:19 +0000 (+0100) Subject: Cirrus CI: Try to fix things after the previous commit. X-Git-Tag: tcpslice-1.7~21 X-Git-Url: https://git.tcpdump.org/tcpslice/commitdiff_plain/7d2032bfd58f02275e96a946d84aa3b13eef011b Cirrus CI: Try to fix things after the previous commit. Apparently, Clang 16 is not available on FreeBSD 12.4, let's see if Clang 15 is. In the Linux task specify CC so Autoconf can generate the Makefile (steps that do not involve any C compliling should not depend on a C compiler presence, maybe in future this will have a better solution). --- diff --git a/.cirrus.yml b/.cirrus.yml index 4c0f39c..59a7acd 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -14,9 +14,9 @@ freebsd_task: - image_family: freebsd-13-2 env: IGNORE_OSVERSION: yes - MATRIX_CC: clang16 gcc12 + MATRIX_CC: clang15 gcc12 script: - - pkg install -qy autoconf gcc12 llvm16 + - pkg install -qy autoconf gcc12 llvm15 - pkg install -qy git-tiny # for build_matrix.sh - git -C .. clone --depth ${CIRRUS_CLONE_DEPTH} --branch=master --quiet ${LIBPCAP_GIT} - ./build_matrix.sh @@ -40,7 +40,7 @@ linux_task: - apt list --installed 'lib*-dev' - git -C .. clone --depth ${CIRRUS_CLONE_DEPTH} --branch=master --quiet ${LIBPCAP_GIT} - ./autogen.sh - - ./configure --quiet # build the Makefile + - CC=gcc-12 ./configure --quiet # build the Makefile - make releasecheck - make whitespacecheck - make shellcheck