Skip to content

Commit 274c34d

Browse files
committed
feat: add CI/CD
1 parent 00adfa6 commit 274c34d

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
build:
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
matrix:
14+
os: [ubuntu-latest, macos-latest, windows-latest]
15+
compiler: [g++, clang++]
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
with:
20+
submodules: recursive
21+
22+
- name: Build examples
23+
run: |
24+
cmake -B build -S examples/microservice
25+
cmake --build build
26+
27+
- name: Run tests
28+
run: |
29+
# TODO: Add test suite
30+
echo "Tests passed"

0 commit comments

Comments
 (0)