Skip to content

Commit 27b5eae

Browse files
committed
Try 2 at fixing the output path for Linux and MacOS
1 parent 1962d34 commit 27b5eae

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
run: |
8787
# Test Release build as well
8888
cmake --build build --config Release
89-
./build/bin/Release/meowstro_tests.exe
89+
./build/bin/meowstro_tests.exe
9090
9191
- name: Upload Executable Artifact (main branch only)
9292
if: github.ref == 'refs/heads/main'
@@ -164,8 +164,9 @@ jobs:
164164
- name: Build and Test (Release)
165165
run: |
166166
# Test Release build as well
167-
cmake --build build --config Release
168-
./build/bin/Release/meowstro_tests
167+
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
168+
cmake --build build
169+
./build/bin/meowstro_tests
169170
170171
- name: Upload Executable Artifact (main branch only)
171172
if: github.ref == 'refs/heads/main'
@@ -241,7 +242,9 @@ jobs:
241242
- name: Build and Test (Release)
242243
run: |
243244
# Test Release build as well
244-
cmake --build build --config Release
245+
HOMEBREW_PREFIX=$(brew --prefix)
246+
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_PREFIX_PATH="$HOMEBREW_PREFIX"
247+
cmake --build build
245248
./build/bin/Release/meowstro_tests
246249
247250
- name: Upload Executable Artifact (main branch only)

0 commit comments

Comments
 (0)