Skip to content

Commit 3b90a9d

Browse files
authored
Add CI
1 parent a137bc7 commit 3b90a9d

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/main.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI Build
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
strategy:
13+
matrix:
14+
platform:
15+
- ubuntu-latest
16+
- macos-latest
17+
- windows-latest
18+
19+
runs-on: ${{ matrix.platform }}
20+
21+
steps:
22+
- name: Check out repository
23+
uses: actions/checkout@v3
24+
- name: Build
25+
run: |
26+
mkdir build
27+
cd build
28+
cmake ..
29+
cmake --build .

0 commit comments

Comments
 (0)