FreeBSD Github action 13.1 -> 13.2 and static libgcc and libstdc++

This commit is contained in:
aristocratos 2023-08-27 02:00:07 +02:00
parent fc523fd1d0
commit 31be4362ce

View File

@ -36,19 +36,19 @@ jobs:
- name: Compile - name: Compile
uses: vmactions/freebsd-vm@v0 uses: vmactions/freebsd-vm@v0
with: with:
release: 13.1 release: 13.2
usesh: true usesh: true
prepare: | prepare: |
pkg install -y gmake gcc11 coreutils git pkg install -y gmake gcc11 coreutils git
git config --global --add safe.directory /Users/runner/work/btop/btop git config --global --add safe.directory /Users/runner/work/btop/btop
run: | run: |
gmake gmake STATIC=true STRIP=true
GIT_HASH=$(git rev-parse --short "$GITHUB_SHA") GIT_HASH=$(git rev-parse --short "$GITHUB_SHA")
mv bin/btop bin/btop-$GIT_HASH mv bin/btop bin/btop-$GIT_HASH
ls -alh bin ls -alh bin
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: btop-x86_64-FreeBSD-13.1 name: btop-x86_64-FreeBSD-13.2
path: 'bin/*' path: 'bin/*'
if-no-files-found: error if-no-files-found: error