Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Build CI #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build
on:
workflow_dispatch:

jobs:
build:
runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- name: submodules-init
uses: snickerbockers/submodules-init@v4
- name: Build
run: |
make -C amfidebilitate clean all
cd Taurine/resources && tar -xf basebinaries.tar
rm -f Taurine/resources/{amfidebilitate,basebinaries.tar}
cd ../..
cp amfidebilitate/bin/* Taurine/resources
cd Taurine/resources && tar -cf basebinaries.tar amfidebilitate img4tool jailbreakd jbexec launchjailbreak pspawn_payload-stg2.dylib pspawn_payload.dylib
rm -f Taurine/resources/{amfidebilitate,img4tool,jailbreakd,jbexec,launchjailbreak,*.dylib}
cd ../..
xcodebuild clean build ONLY_ACTIVE_ARCH=NO PRODUCT_BUNDLE_IDENTIFIER='com.OdysseyTeam.Taurine' CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED="NO" -sdk iphoneos -scheme Taurine -configuration Release -derivedDataPath build
ln -sf build/Build/Products/Release-iphoneos Payload
rm -rf Payload/Taurine.app/Frameworks
zip -r9 Taurine.ipa Payload/Taurine.app

- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: Taurine.ipa
path: "Taurine.ipa"