-
Notifications
You must be signed in to change notification settings - Fork 74
43 lines (33 loc) · 1007 Bytes
/
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
name: Build Serotonin
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- name: Update submodules
run: git submodule update --init --recursive
- name: Switch to Xcode 15
run: sudo xcode-select -s /Applications/Xcode_15.0.app
- name: Install theos
run: bash -c "$(curl -fsSL https://raw.githubusercontent.com/roothide/theos/master/bin/install-theos)"
- name: Download ct_bypass to /usr/local/bin
run: |
curl -L -o /usr/local/bin/ct_bypass https://cdn.mineek.dev/serotonin/action_deps/ct_bypass
chmod +x /usr/local/bin/ct_bypass
- name: Install ldid
run: |
brew unlink ldid
brew install ldid-procursus
- name: Compile IPA
run: |
export THEOS=/Users/runner/theos
make
- name: Upload IPA
uses: actions/upload-artifact@v2
with:
name: Serotonin.tipa
path: Serotonin.tipa