liufang-robot Windows cpp build #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 cpp build | |
run-name: ${{ github.actor }} Windows cpp build | |
on: | |
workflow_dispatch: | |
pull_request: | |
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
pull-requests: read | |
jobs: | |
windows_cpp_build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Check cmake | |
run: cmake --version | |
- name: Configure | |
run: cmake -S. -Bbuild -G "Visual Studio 17 2022" -DBUILD_DOCUMENTATION=OFF | |
- name: Build | |
run: cmake --build build |