Added CMake option for MSVC to build with the static runtime library. #169
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: Build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: cmake | |
run: cmake -B build -DWARNINGS_AS_ERRORS=1 | |
- name: make | |
run: (cd build; make) | |
build-macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: cmake | |
run: cmake -B build -DWARNINGS_AS_ERRORS=1 | |
- name: make | |
run: (cd build; make) | |
build-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ilammy/msvc-dev-cmd@v1 | |
- name: cmake | |
run: cmake -B build -G "NMake Makefiles" -DWARNINGS_AS_ERRORS=1 | |
- name: nmake | |
run: | | |
cd build | |
nmake | |