Skip to content

Commit

Permalink
ci: fix CMake build directory
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-vincent committed Jan 15, 2025
1 parent e4cac59 commit 4393180
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,9 @@ jobs:
- name: Build with CMake
run: |
cmake -DCMAKE_TOOLCHAIN_FILE=build/${{ matrix.build_type }}/generators/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
cmake --build build/${{ matrix.build_type }}
cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=${{ matrix.build_type }}/generators/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
cmake --build ${{ matrix.build_type }}
- name: Run Tests
run: ctest --test-dir build/${{ matrix.build_type }}

0 comments on commit 4393180

Please sign in to comment.