Skip to content

Commit

Permalink
Merge pull request #267 from zrax/macos_gcc12
Browse files Browse the repository at this point in the history
Update GCC for macOS CI to GCC 12.
  • Loading branch information
zrax authored Mar 4, 2023
2 parents 6fa56d9 + 1bb3898 commit f251fbb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/macos-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
run: |
brew install libjpeg-turbo libpng
if [[ "${{ matrix.compiler }}" == "gcc" ]]; then
brew install gcc@9
brew install gcc@12
fi
- name: Build string_theory
run: |
mkdir -p build_deps && cd build_deps
if [[ "${{ matrix.compiler }}" == "gcc" ]]; then
export CC=gcc-9
export CXX=g++-9
export CC=gcc-12
export CXX=g++-12
fi
git clone https://github.com/zrax/string_theory
mkdir -p string_theory/build && cd string_theory/build
Expand All @@ -31,8 +31,8 @@ jobs:
run: |
mkdir build && cd build
if [[ "${{ matrix.compiler }}" == "gcc" ]]; then
export CC=gcc-9
export CXX=g++-9
export CC=gcc-12
export CXX=g++-12
fi
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_FIND_FRAMEWORK=LAST \
-DCMAKE_PREFIX_PATH="${GITHUB_WORKSPACE}/build_deps/prefix;/usr/local/opt/jpeg-turbo;/usr/local/opt/openssl" \
Expand Down

0 comments on commit f251fbb

Please sign in to comment.