mirror of
https://github.com/aristocratos/btop.git
synced 2025-12-23 22:29:08 -05:00
ci: bump freebsd toolchain to GCC 15
This commit is contained in:
12
.github/workflows/continuous-build-freebsd.yml
vendored
12
.github/workflows/continuous-build-freebsd.yml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user