Skip to content

Commit 0f766ef

Browse files
committed
add github workflow
1 parent cfc8426 commit 0f766ef

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/build.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches: [ main, develop ]
6+
pull_request:
7+
branches: [ main, develop ]
8+
9+
defaults:
10+
run:
11+
shell: bash
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Clone
19+
uses: actions/checkout@v3
20+
with:
21+
submodules: recursive
22+
23+
- name: Configure
24+
run: cmake -B build .
25+
26+
- name: Build
27+
working-directory: build
28+
run: make
29+
30+
- name: Run Tests
31+
working-directory: build
32+
run: make test

0 commit comments

Comments
 (0)