1name: amd64 Windows CMake 2 3on: 4 push: 5 pull_request: 6 schedule: 7 # min hours day(month) month day(week) 8 - cron: '0 0 7,22 * *' 9 10jobs: 11 # Building using the github runner environement directly. 12 msvc: 13 runs-on: windows-latest 14 env: 15 CTEST_OUTPUT_ON_FAILURE: 1 16 steps: 17 - uses: actions/checkout@v2 18 - name: Configure 19 run: cmake -S. -Bbuild -G "Visual Studio 17 2022" -DCMAKE_CONFIGURATION_TYPES=Release 20 - name: Build 21 run: cmake --build build --config Release --target ALL_BUILD -- /maxcpucount 22 - name: Test 23 run: cmake --build build --config Release --target RUN_TESTS -- /maxcpucount 24 - name: Install 25 run: cmake --build build --config Release --target INSTALL -- /maxcpucount 26