name: Windows on: push: branches: [master, static] pull_request: branches: [master, static] jobs: build: runs-on: windows-latest steps: - uses: actions/checkout@v2 - name: cmake run: | cmake -E make_directory build cd build cmake .. - name: Compile working-directory: build run: cmake --build . -j2 - name: Test working-directory: build run: ctest -j2