Skip to content

Commit f41bd07

Browse files
committed
add CI
1 parent 1279ed5 commit f41bd07

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [master, main]
6+
pull_request:
7+
branches: [master, main]
8+
9+
jobs:
10+
build-linux:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Build
16+
run: make
17+
18+
- name: Test
19+
run: make test
20+
21+
build-windows:
22+
runs-on: windows-latest
23+
defaults:
24+
run:
25+
shell: bash
26+
steps:
27+
- uses: actions/checkout@v4
28+
29+
- name: Build
30+
run: make
31+
32+
- name: Test
33+
run: make test
34+
35+
build-macos:
36+
runs-on: macos-latest
37+
steps:
38+
- uses: actions/checkout@v4
39+
40+
- name: Build
41+
run: make
42+
43+
- name: Test
44+
run: make test

0 commit comments

Comments
 (0)