-
Notifications
You must be signed in to change notification settings - Fork 33
82 lines (67 loc) · 2.02 KB
/
build.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
name: Build
on:
push:
branches: ["*"]
pull_request:
branches: ["*"]
jobs:
build-rootless:
runs-on: macos-13
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- uses: actions/checkout@main
- name: Checkout theos/theos
uses: actions/checkout@main
with:
repository: theos/theos
ref: master
submodules: recursive
path: theos
- name: Checkout SDKs
uses: actions/checkout@main
with:
repository: xybp888/iOS-SDKs
ref: master
sparse-checkout: iPhoneOS15.5.sdk
path: theos/sdks
- name: Install dependencies
run: brew install make xz ldid
- name: Build package (rootless)
run: THEOS=theos gmake clean package FINALPACKAGE=1 THEOS_PACKAGE_SCHEME=rootless
- name: Upload a Build Artifact (rootless)
uses: actions/upload-artifact@v3
with:
name: packages iphoneos-arm64 (rootless)
path: packages/*_iphoneos-arm64.deb
build-rootful:
runs-on: macos-12
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '14.2'
- uses: actions/checkout@main
- name: Checkout theos/theos
uses: actions/checkout@main
with:
repository: theos/theos
ref: master
submodules: recursive
path: theos
- name: Checkout SDKs
uses: actions/checkout@main
with:
repository: xybp888/iOS-SDKs
ref: master
sparse-checkout: iPhoneOS14.2.sdk
path: theos/sdks
- name: Install dependencies
run: brew install make xz ldid
- name: Build package (rootful)
run: THEOS=theos gmake clean package FINALPACKAGE=1
- name: Upload a Build Artifact (rootful)
uses: actions/upload-artifact@v3
with:
name: packages iphoneos-arm (rootful)
path: packages/*_iphoneos-arm.deb