aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2024-11-21 11:25:10 +0100
committerGitHub <noreply@github.com>2024-11-21 11:25:10 +0100
commitf8a974b8771a70b7accbb6e408e23b08e76c1bea (patch)
tree68403b00f2fdc0625c23672c2f1c2c7301bc6090
parent1140d28c3d6bb9adbeff2c12163793a93e7186c5 (diff)
Update GitHub CI actions (#2627)
-rw-r--r--.github/workflows/build.yml27
1 files changed, 4 insertions, 23 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index c7ee38b69..2e3fd6f08 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -115,22 +115,7 @@ jobs:
maxminddb: "--with-maxminddb"
msan: "--with-sanitizer"
nBPF: ""
- - compiler: "clang-17" # "Newest" clang easily available. See also below...
- ar: "llvm-ar-17"
- ranlib: "llvm-ranlib-17"
- os: ubuntu-24.04
- arch: "x86_64"
- gcrypt: ""
- pcre: "--with-pcre2"
- maxminddb: "--with-maxminddb"
- msan: "--with-sanitizer"
- nBPF: ""
- lto_gold_linker: "--with-lto-and-gold-linker"
- - compiler: "clang-18" # "The latest clang version easily available should be 18,
- # but it is buggy on ubuntu-24.04 with LTO and Gold linker:
- # https://github.com/llvm/llvm-project/issues/87553
- # https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-18/+bug/2064187
- # Waiting for a fix...
+ - compiler: "clang-18" # "Newest" clang easily available. See also below...
ar: "llvm-ar-18"
ranlib: "llvm-ranlib-18"
os: ubuntu-24.04
@@ -140,7 +125,7 @@ jobs:
maxminddb: "--with-maxminddb"
msan: "--with-sanitizer"
nBPF: ""
- lto_gold_linker: ""
+ lto_gold_linker: "--with-lto-and-gold-linker"
- compiler: "cc"
os: ubuntu-latest
arch: "x86_64"
@@ -279,12 +264,8 @@ jobs:
- name: Installing MacOS prerequisites
if: startsWith(matrix.os, 'macOS') && startsWith(matrix.arch, 'x86_64')
run: |
- # A workaround for "The `brew link` step did not complete successfully" error.
- # See https://github.com/Homebrew/homebrew-core/issues/165793#issuecomment-1991817938
- find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
- sudo rm -rf /Library/Frameworks/Python.framework/
- brew install --force python3 && brew unlink python3 && brew unlink python3 && brew link --overwrite python3
- brew install coreutils wdiff colordiff autoconf automake libtool pkg-config gettext json-c rrdtool parallel
+ # Avoid (re)installing pkg-config. See: https://github.com/actions/runner-images/issues/10984
+ brew install coreutils wdiff colordiff autoconf automake libtool gettext json-c rrdtool parallel
- name: Install MacOS Prerequisites (libgcrypt)
if: startsWith(matrix.os, 'macOS') && startsWith(matrix.arch, 'x86_64') && startsWith(matrix.gcrypt, '--with-local-libgcrypt')
run: |