Skip to content

Commit be855b9

Browse files
committed
Add CI
1 parent eaaa929 commit be855b9

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: Install dependencies
11+
run: |
12+
sudo snap install zig --classic
13+
zig version
14+
- name: Fetch test-data
15+
run: git submodule update --init
16+
- name: Run tests
17+
run: zig build test
18+
- name: Run lookup example
19+
run: zig build example_lookup
20+
- name: Run within example
21+
run: zig build example_within

0 commit comments

Comments
 (0)