Skip to content

Commit

Permalink
Run tests on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kimci86 committed Jan 22, 2024
1 parent 1e65580 commit aa708e4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,15 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Configure CMake
run: cmake -S . -B build ${{matrix.platform.cmake-config}}
- name: Configure project
run: cmake -S . -B build -DBKCRACK_BUILD_TESTING=ON ${{matrix.platform.cmake-config}}

- name: Build project
run: cmake --build build --config Release

- name: Run tests
run: ctest --test-dir build -C Release --output-on-failure

- name: Create package
run: cmake --build build --config Release --target package

Expand Down

0 comments on commit aa708e4

Please sign in to comment.