File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export PATH=${VCPKG_ROOT}:${PATH}
11
11
# Create build directory and configure
12
12
mkdir -p build
13
13
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
15
15
16
16
# Build the project
17
17
cd ../out/build/macos-debug
Original file line number Diff line number Diff line change 67
67
- name : Install build tools
68
68
run : |
69
69
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
77
71
78
72
- name : Run build script
79
73
run : |
You can’t perform that action at this time.
0 commit comments