Skip to content

Commit 9440b60

Browse files
committed
ci: add pipeline to run tests
1 parent 6992750 commit 9440b60

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
6+
permissions:
7+
checks: write
8+
contents: read
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Install dependencies
19+
run: |
20+
sudo apt-get update
21+
sudo apt-get install -y \
22+
build-essential \
23+
libcriterion-dev
24+
25+
- name: Build
26+
run: make
27+
28+
- name: Run tests
29+
run: make test

0 commit comments

Comments
 (0)