Use gcc12 for macos12

This commit is contained in:
Jakob P. Liljenberg 2022-11-06 10:04:55 +01:00 committed by GitHub
parent a2685962d9
commit 5d9097d9b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,10 +45,14 @@ jobs:
build-macos12:
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- name: Install GCC12
run: |
brew install gcc@12
- uses: actions/checkout@v3
- name: Compile
run: |
make CXX=g++-11 ARCH=x86_64 STATIC=true STRIP=true
make CXX=g++-12 ARCH=x86_64 STATIC=true STRIP=true
GIT_HASH=$(git rev-parse --short "$GITHUB_SHA")
mv bin/btop bin/btop-x86_64-Monterey-$GIT_HASH
ls -alh bin