Skip to content

Commit 13b5aad

Browse files
committed
Add CI workflow
1 parent db81e94 commit 13b5aad

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout (with submodules)
12+
uses: actions/checkout@v4
13+
with:
14+
submodules: recursive
15+
16+
- name: Install dependencies
17+
run: |
18+
sudo apt-get update
19+
sudo apt-get install -y build-essential cmake libboost-all-dev
20+
21+
- name: Configure
22+
run: cmake -S . -B build -DCMAKE_POLICY_VERSION_MINIMUM=3.5
23+
24+
- name: Build
25+
run: cmake --build build -- -j2

0 commit comments

Comments
 (0)