Skip to content

Commit 48becb4

Browse files
authored
Push/PR CI pipeline to build & test
1 parent d937a7d commit 48becb4

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/manual.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI build and test
2+
3+
on:
4+
push:
5+
branches: ["master"]
6+
pull_request:
7+
branches: ["master"]
8+
9+
jobs:
10+
build-and-test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Pull deps
17+
run: |
18+
sudo apt-get update
19+
sudo apt-get install -y cmake libcurl4-openssl-dev
20+
21+
- name: Config CMake
22+
run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release
23+
24+
- name: Build
25+
run: cmake --build build/
26+
27+
- name: Tests
28+
run: ./build/tests

0 commit comments

Comments
 (0)