-
Notifications
You must be signed in to change notification settings - Fork 11
42 lines (40 loc) · 929 Bytes
/
pr.yml
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
name: Build
on:
pull_request:
branches: [main]
jobs:
release:
strategy:
matrix:
frida_version: ["16.1.9"]
runs-on: macos-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '^1.22.x'
- run: go version
-
name: Fetch all tags
run: git fetch --force --tags
-
name: Download Frida macOS_amd64
uses: ./.github/actions/install-frida-devkit
with:
arch: x86_64
os: macos
version: ${{ matrix.frida_version }}
outdir: /tmp/data/macos_amd64
-
name: Build
env:
CGO_ENABLED: 1
CGO_LDFLAGS: -L/tmp/data/macos_arm64/lib
CGO_CFLAGS: -I/tmp/data/macos_arm64/include
run: go build