Skip to content

Commit 0ef3d8d

Browse files
authored
Add CI workflow for C++ builds and tests
1 parent b9aed3d commit 0ef3d8d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: C++ CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- name: Build demos
13+
run: |
14+
g++ -std=c++17 -O2 split.cpp test_split.cpp -o demo_split
15+
./demo_split
16+
g++ -std=c++17 -O2 ulliststr.cpp test_ulliststr.cpp -o demo_ullist
17+
./demo_ullist

0 commit comments

Comments
 (0)