-
Notifications
You must be signed in to change notification settings - Fork 18
49 lines (41 loc) · 1.03 KB
/
Copy pathbuild.yml
File metadata and controls
49 lines (41 loc) · 1.03 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
name: Build
on:
push:
workflow_dispatch:
env:
THEOS: ${{ github.workspace }}/theos
jobs:
build-and-upload:
runs-on: macos-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Dependencies
run: |
brew install dpkg ldid make
- name: Checkout THEOS
uses: actions/checkout@v4
with:
repository: theos/theos
ref: master
path: theos
submodules: recursive
- name: Get THEOS SDKs
uses: actions/checkout@v4
with:
repository: theos/sdks
ref: master
path: ${{ github.workspace }}/theos/sdks
- name: Build Packages
run: |
export THEOS_PLATFORM_SDK_ROOT=$THEOS/sdks/iPhoneOS15.6.sdk
make package STRIP=0
cp packages/*.ipa .
- name: Upload Packages
uses: actions/upload-artifact@v4
with:
name: packages
path: |
*.ipa