We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 489b889 commit 0f91a36Copy full SHA for 0f91a36
1 file changed
.github/workflows/c-cpp.yml
@@ -0,0 +1,35 @@
1
+name: C/C++ CI
2
+
3
+on:
4
+ push:
5
+ branches: ["main"]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ strategy:
12
+ matrix:
13
+ include:
14
+ - os: macos-13
15
+ arch: x86_64
16
+ - os: macos-latest
17
+ arch: arm64
18
19
+ runs-on: ${{ matrix.os }}
20
21
+ steps:
22
+ - uses: actions/checkout@v4
23
+ - name: build libraries
24
+ run: |
25
+ make
26
+ zip -j -9 tinyhook-${{ matrix.arch }}.zip libtinyhook.a libtinyhook.dylib include/tinyhook.h
27
28
+ - name: run test
29
+ run: make test
30
31
+ - name: upload build artifact
32
+ uses: actions/upload-artifact@v4
33
+ with:
34
+ name: tinyhook-${{ matrix.arch }}
35
+ path: tinyhook-${{ matrix.arch }}.zip
0 commit comments