Skip to content

Commit ad6b9c0

Browse files
committed
Use default gcc on mac
1 parent 5311958 commit ad6b9c0

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.github/scripts/build-macos.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export PATH=${VCPKG_ROOT}:${PATH}
1111
# Create build directory and configure
1212
mkdir -p build
1313
cd build
14-
cmake --preset=macos-debug .. -DCMAKE_CXX_COMPILER=$CXX -DCMAKE_C_COMPILER=$CC
14+
cmake --preset=macos-debug .. -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc
1515

1616
# Build the project
1717
cd ../out/build/macos-debug

.github/workflows/run-test-suite.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,7 @@ jobs:
6767
- name: Install build tools
6868
run: |
6969
brew update
70-
brew install cmake ninja gcc
71-
72-
- name: Configure Environment for GCC
73-
run: |
74-
echo 'export CC=gcc-$(brew list gcc | grep gcc | sed "s/.*gcc-\([0-9]*\)$/\1/")' >> $GITHUB_ENV
75-
echo 'export CXX=g++-$(brew list gcc | grep g++ | sed "s/.*g++-\([0-9]*\)$/\1/")' >> $GITHUB_ENV
76-
70+
brew install cmake ninja
7771
7872
- name: Run build script
7973
run: |

0 commit comments

Comments
 (0)