Skip to content

Commit

Permalink
Run tests in workflow and upload artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
cblichmann committed May 6, 2024
1 parent f04664e commit 38013ca
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ubuntu-cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ jobs:
working-directory: ${{ runner.workspace }}/build
run: cmake --build . --config "${BUILD_TYPE}"

#- name: Test
# working-directory: ${{ runner.workspace }}/build
# run: ctest --build-config "${BUILD_TYPE}" --output-on-failure
- name: Test
working-directory: ${{ runner.workspace }}/build
run: ctest --build-config "${BUILD_TYPE}" --output-on-failure

- name: Upload Build Artifacts
uses: actions/[email protected]
with:
name: pawn-${{ runner.os }}
path: |
${{ runner.workspace }}/build/pawn/pawn

0 comments on commit 38013ca

Please sign in to comment.