Skip to content

Commit

Permalink
Add cmake build workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
flederwiesel committed Oct 15, 2023
1 parent 36286e6 commit 0b1be70
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/cmake-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: build

on:
pull_request:
push:
branches:
- 'master'
- 'feature/**'

permissions:
contents: read # to fetch code (actions/checkout)

jobs:
build:
name: cmake configure & build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ windows-latest, windows-2019 ]
include:
- vs_version: "Visual Studio 17 2022"
os: windows-latest
- vs_version: "Visual Studio 16 2019"
os: windows-2019
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Configure
run: cmake -B"${{ runner.workspace }}/b" -G"${{ matrix.vs_version }}"
- name: Build
run: cmake --build '${{ runner.workspace }}/b'

0 comments on commit 0b1be70

Please sign in to comment.