name: CMake Windows C++ on: [push, pull_request] jobs: # Building using the github runner environement directly. cmake: runs-on: windows-latest steps: - uses: actions/checkout@v2 - name: Check cmake run: cmake --version - name: Configure run: cmake -S. -Bbuild -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=Release -DBUILD_DEPS=ON - name: Build run: cmake --build build --config Release --target ALL_BUILD -v -- /maxcpucount - name: Test run: cmake --build build --config Release --target RUN_TESTS -v -- /maxcpucount - name: Install run: cmake --build build --config Release --target INSTALL -v -- /maxcpucount