Skip to content

Commit

Permalink
Add build workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
m1maker committed Aug 27, 2024
1 parent 0405e3b commit 2b25ce8
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/cmake-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CMake Build

on:
push:
branches:
- main
pull_request:

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up CMake
uses: jwlawson/actions-setup-cmake@v1
with:
cmake-version: '3.21.2'

- name: Configure CMake
run: cmake . -B build

- name: Build with CMake
run: cmake --build build --config Release


0 comments on commit 2b25ce8

Please sign in to comment.