ci: bump freebsd toolchain to GCC 15

This commit is contained in:
Steffen Winter
2025-10-28 10:05:35 +01:00
committed by Steffen
parent 7b4b5e568d
commit fd695e3d3a

View File

@@ -45,12 +45,18 @@ jobs:
release: '14.3'
usesh: true
prepare: |
pkg install -y gmake gcc coreutils git lowdown
pkg install -y gmake gcc15 coreutils git lowdown
git config --global --add safe.directory /home/runner/work/btop/btop
run: |
CXX=${{ matrix.compiler }} gmake STATIC=true STRIP=true
if [ "${{ matrix.compiler }}" == "g++" ]; then
CXX=g++15
COMPILER=gcc
else
CXX=clang++
COMPILER=llvm
fi
gmake STATIC=true STRIP=true
GIT_HASH=$(git rev-parse --short "$GITHUB_SHA")
COMPILER=$(echo ${{ matrix.compiler }} | sed 's/clang++/llvm/' | sed 's/g++/gcc/')
mv bin/btop bin/btop-"$COMPILER"-"$GIT_HASH"
ls -alh bin