Updating workflow to show debugging info #114
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will run the tests on the C++ version of tictactoe | |
name: C++ | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./tictactoe_cpp | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Prepare cmake | |
run: | | |
cmake -S . -B build | |
- name: Build | |
run: | | |
cmake --build build | |
- name: Test | |
run: | | |
cd build && ctest |