Skip to content

Commit b03f485

Browse files
committed
Trying to fix MacOS by changing output dir
1 parent f07f29f commit b03f485

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,13 +169,17 @@ jobs:
169169
llvm
170170
171171
- name: Configure CMake (Homebrew packages)
172-
run: cmake -B build -S . -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
172+
run: |
173+
HOMEBREW_PREFIX=$(brew --prefix)
174+
cmake -B build -S . \
175+
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
176+
-DCMAKE_PREFIX_PATH="$HOMEBREW_PREFIX"
173177
174178
- name: Build Project
175179
run: cmake --build build --parallel $(sysctl -n hw.logicalcpu)
176180

177181
- name: Run Executable
178-
working-directory: build/bin/Debug
182+
working-directory: build/bin
179183
run: ./meowstro --test
180184

181185
- name: Run cppcheck (static analysis)

0 commit comments

Comments
 (0)