Skip to content

Commit fa2fc17

Browse files
authored
ci: add GHA workflow
Add Github actions workflow to build on macOS and Linux
2 parents ac04858 + bdb9fa7 commit fa2fc17

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: C/C++ CI
2+
3+
on:
4+
# run on all branches
5+
push:
6+
branches: [ ]
7+
pull_request:
8+
branches: [ ]
9+
10+
jobs:
11+
linux:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: make
16+
run: |
17+
make
18+
19+
macos:
20+
runs-on: macos-latest
21+
steps:
22+
- uses: actions/checkout@v4
23+
- name: make
24+
run: |
25+
make

0 commit comments

Comments
 (0)