Skip to content

Commit c95bf0c

Browse files
committed
ci: add GitHub Actions workflow for continuous integration
1 parent 298bde6 commit c95bf0c

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/ci.yaml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
name: ubuntu:22.04-release
8+
runs-on: ubuntu-22.04
9+
steps:
10+
- name: install dependencies
11+
run: |
12+
apt-get update
13+
apt-get install -y \
14+
build-essential \
15+
clang-format \
16+
cmake \
17+
ninja-build
18+
- name: checkout repository
19+
uses: actions/checkout@v4
20+
- name: compile
21+
run: |
22+
cmake -B build -S .

0 commit comments

Comments
 (0)