ci: Set-up GitHub Actions to check if a PR builds successfully
This commit is contained in:
parent
79ee9ecd21
commit
9cb9ed02fc
|
@ -0,0 +1,21 @@
|
|||
name: Verify PR Builds
|
||||
|
||||
on: pull_request
|
||||
|
||||
jobs:
|
||||
windows:
|
||||
name: Windows
|
||||
runs-on: windows-latest
|
||||
strategy:
|
||||
matrix:
|
||||
configuration: [Debug, Release]
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Generate cmake files
|
||||
run: |
|
||||
git submodule update --init --recursive --force
|
||||
mkdir build && cd build
|
||||
cmake .. -G "Visual Studio 16 2019" -A Win32
|
||||
- name: Build
|
||||
run: cmake --build build/ --config ${{ matrix.configuration }}
|
||||
|
Loading…
Reference in New Issue