Installation documentation update #88
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
name: Windows unit | |
# adapted from: https://github.com/trase-cpp/trase/tree/master/.github/workflows | |
on: | |
push: | |
branches: | |
# - main | |
- develop | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
build-and-test: | |
name: Windows unit | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: make build directory | |
run: mkdir build_dir | |
- name: cmake configure | |
run: cmake .. -DCMAKE_BUILD_TYPE=Debug -DDTWC_BUILD_TESTING=ON | |
working-directory: build_dir | |
- name: cmake build | |
run: cmake --build . --parallel 2 | |
working-directory: build_dir | |
- name: cmake test | |
run: ctest -j1 -C Debug --verbose --output-on-failure | |
working-directory: build_dir |