Install clang for Darwin and FreeBSD CI jobs

This commit is contained in:
t1amak
2026-03-19 00:18:29 +01:00
parent 1374128071
commit 704f69b5ad

View File

@@ -75,6 +75,7 @@ jobs:
build-essential \
ca-certificates \
ccache \
clang \
cmake \
curl \
git \
@@ -90,6 +91,12 @@ jobs:
sudo update-alternatives --set ${{ matrix.toolchain.host }}-g++ "$(which ${{ matrix.toolchain.host }}-g++-posix)"
sudo update-alternatives --set ${{ matrix.toolchain.host }}-gcc "$(which ${{ matrix.toolchain.host }}-gcc-posix)"
- name: Prepare FreeBSD clang aliases
if: ${{ matrix.toolchain.host == 'x86_64-unknown-freebsd' }}
run: |
sudo ln -sf "$(which clang)" /usr/local/bin/clang-8
sudo ln -sf "$(which clang++)" /usr/local/bin/clang++-8
- name: Build
run: |
make depends target=${{ matrix.toolchain.host }} -j"$(nproc)"