update badge and clear other build info #2
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: CMake on multiple platforms | |
on: | |
push: | |
pull_request: | |
jobs: | |
windows-build: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
generator: ["Visual Studio 17 2022", "MinGW Makefiles"] | |
steps: | |
- uses: actions/checkout@main | |
- if: ${{matrix.generator=='MinGW Makefiles'}} | |
uses: msys2/setup-msys2@v2 | |
- run: cmake -G "${{ matrix.generator }}" . | |
- run: cmake --build . | |
ubuntu-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- run: cmake . | |
- run: make |