Continuous build macos switch to BigSur

Also added static linking with libgcc and libstdc++
This commit is contained in:
aristocratos 2021-11-16 07:34:09 +01:00 committed by GitHub
parent cb6ad141eb
commit 7373d24905
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,18 +17,18 @@ on:
jobs:
build-osx:
runs-on: macos-latest
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- name: Compile
run: |
make CXX=g++-11 ARCH=x86_64
make CXX=g++-11 ARCH=x86_64 STATIC=true STRIP=true
GIT_HASH=$(git rev-parse --short "$GITHUB_SHA")
mv bin/btop bin/btop-x86_64-$GIT_HASH
mv bin/btop bin/btop-x86_64-BigSur-$GIT_HASH
ls -alh bin
- uses: actions/upload-artifact@v2
with:
name: btop-x86_64-macos
name: btop-x86_64-macos-BigSur
path: 'bin/*'