From 5d9097d9b98b703c08e4301c3e8cfa7724f9171e Mon Sep 17 00:00:00 2001 From: "Jakob P. Liljenberg" Date: Sun, 6 Nov 2022 10:04:55 +0100 Subject: [PATCH] Use gcc12 for macos12 --- .github/workflows/continuous-build-macos.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-build-macos.yml b/.github/workflows/continuous-build-macos.yml index fe23f3b..cdc24c5 100644 --- a/.github/workflows/continuous-build-macos.yml +++ b/.github/workflows/continuous-build-macos.yml @@ -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