From 574ea6d626365bdee9567d6d8f1b46ca380513aa Mon Sep 17 00:00:00 2001 From: Christopher Kormanyos Date: Tue, 29 Aug 2023 11:52:30 +0200 Subject: [PATCH] Explicitly install gcc/g++ 12 on MacOS --- .github/workflows/gamma_f77.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gamma_f77.yml b/.github/workflows/gamma_f77.yml index 0ca7f1b..8fc3168 100644 --- a/.github/workflows/gamma_f77.yml +++ b/.github/workflows/gamma_f77.yml @@ -53,8 +53,10 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: '0' - - name: update-tools - run: sudo apt install gcc-12 g++-12 + - name: update-tools-gcc-12 + run: brew install gcc-12 + - name: update-tools-g++-12 + run: brew install g++-12 - name: macos-native run: | ${{ matrix.compiler }} -xf77 -O2 gamma.f -lgfortran -lquadmath -o gamma.exe