-
Notifications
You must be signed in to change notification settings - Fork 27
57 lines (46 loc) · 1.12 KB
/
Copy pathc-cpp.yml
File metadata and controls
57 lines (46 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: C/C++ CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v6
- name: build macos libraries
run: ./build.sh -t macosx -v 10.15
- name: upload build artifact
uses: actions/upload-artifact@v6
with:
name: tinyhook-macosx
path: |
libtinyhook.a
libtinyhook.dylib
include/tinyhook.h
compression-level: 9
- name: build ios libraries
run: ./build.sh -t iphoneos -v 12.0
- name: upload build artifact
uses: actions/upload-artifact@v6
with:
name: tinyhook-iphoneos
path: |
libtinyhook.a
libtinyhook.dylib
include/tinyhook.h
compression-level: 9
test:
strategy:
matrix:
include:
- os: macos-15-intel
arch: x86_64
- os: macos-latest
arch: arm64
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- name: run test
run: make test