diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 577cd65..270f466 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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