chore(build): install before test

This commit is contained in:
fallenoak committed 2025-11-21 16:42:35 -06:00
1 parent 054bfdab09
commit 6dc7f8dce3
2 files changed
+22 -8

No files matched your search

+11 -4
View File
@@ -31,7 +31,7 @@ jobs:
- name: Windows Latest (MSVC)
os: windows-latest
build_type: Release
test_path: Release/WhoaTest
test_path: WhoaTest
cc: cl
cxx: cl
@@ -44,10 +44,17 @@ jobs:
run: mkdir build
- name: Configure
run: cd build && cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }}
run: cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }}
working-directory: build
- name: Build
run: cmake --build build --config ${{ matrix.config.build_type }}
run: cmake --build . --config ${{ matrix.config.build_type }}
working-directory: build
- name: Install
run: cmake --install . --config ${{ matrix.config.build_type }}
working-directory: build
- name: Test
run: ./build/bin/${{ matrix.config.test_path }}
run: ./dist/bin/${{ matrix.config.test_path }}
working-directory: build