forked from LinusHenze/Fugu14
-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathcodemagic.yaml
18 lines (18 loc) · 903 Bytes
/
codemagic.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
workflows:
my-workflow:
max_build_duration: 120
scripts:
- name: Set up keychain to be used for code signing using Codemagic CLI 'keychain' command
script: keychain initialize
- name: Wait for login
script: python3 ~/clone/wait_login.py
- name: Build jailbreakd
script: cd ~/clone/arm/iOS/jailbreakd/ && sh ./build.sh "Apple Dev"
- name: Get & Patch CDHash
script: cdhash=$(codesign -dvvv ~/clone/arm/iOS/Fugu14App/Fugu14App/jailbreakd) && python3 ~/clone/cdhash_patch.py "$cdhash"
- name: Build Fugu14App
script: cd ~/clone/arm/iOS/Fugu14App && xcodebuild -scheme Fugu14App -derivedDataPath build
- name: Create ipa
script: cd ~/clone/tools && sh ./build_ipas.sh ~/clone/arm/iOS/Fugu14App/build/Build/Products/Release-iphoneos/Fugu14App.app ~/clone/tools
artifacts:
- tools/*.ipa