310 add a git diff tool (#773) #275
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: github-ci-msw | |
on: [push] | |
jobs: | |
build: | |
# https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md | |
runs-on: windows-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: Install boost | |
uses: MarkusJx/install-boost@v2.4.5 | |
id: install-boost | |
with: | |
# REQUIRED: Specify the required boost version | |
# A list of supported versions can be found here: | |
# https://github.com/actions/boost-versions/blob/main/versions-manifest.json | |
boost_version: 1.83.0 | |
- name: Add msbuild | |
uses: microsoft/setup-msbuild@v2 | |
- name: Configure | |
shell: pwsh | |
run: | | |
.\build-gen.ps1 -boost_dir ${{steps.install-boost.outputs.BOOST_ROOT}} -tests -prepare | |
- name: Build | |
working-directory: build | |
run: | | |
msbuild /noLogo /m /p:Configuration=Release ALL_BUILD.vcxproj | |
- name: Run tests | |
uses: threeal/ctest-action@v1.1.0 | |
with: | |
build-config: Release | |
tests-regex: or | |
verbose: true |