Install clang for Darwin and FreeBSD CI jobs
This commit is contained in:
@@ -75,6 +75,7 @@ jobs:
|
|||||||
build-essential \
|
build-essential \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
ccache \
|
ccache \
|
||||||
|
clang \
|
||||||
cmake \
|
cmake \
|
||||||
curl \
|
curl \
|
||||||
git \
|
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 }}-g++ "$(which ${{ matrix.toolchain.host }}-g++-posix)"
|
||||||
sudo update-alternatives --set ${{ matrix.toolchain.host }}-gcc "$(which ${{ matrix.toolchain.host }}-gcc-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
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
make depends target=${{ matrix.toolchain.host }} -j"$(nproc)"
|
make depends target=${{ matrix.toolchain.host }} -j"$(nproc)"
|
||||||
|
|||||||
Reference in New Issue
Block a user