File tree Expand file tree Collapse file tree 3 files changed +20
-65
lines changed
Expand file tree Collapse file tree 3 files changed +20
-65
lines changed Original file line number Diff line number Diff line change @@ -2,18 +2,30 @@ name: C/C++ CI
22
33on :
44 push :
5- branches : [ "main" ]
5+ branches : ["main"]
66 pull_request :
7- branches : [ "main" ]
7+ branches : ["main"]
88
99jobs :
1010 build :
11+ strategy :
12+ matrix :
13+ os : [macos-13, macos-latest]
1114
12- runs-on : macos-latest
15+ runs-on : ${{ matrix.os }}
1316
1417 steps :
15- - uses : actions/checkout@v4
16- - name : make
17- run : make
18- - name : make test
19- run : make test
18+ - uses : actions/checkout@v4
19+ - name : build libraries
20+ run : |
21+ make
22+ zip -9 tinyhook.zip libtinyhook.a libtinyhook.dylib include/tinyhook.h
23+
24+ - name : run test
25+ run : make test
26+
27+ - name : upload build artifact
28+ uses : actions/upload-artifact@v4
29+ with :
30+ name : tinyhook
31+ path : tinyhook.zip
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments