Skip to content

Commit

Permalink
Add GitHub actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhduytran0 committed Sep 22, 2024
1 parent 4397382 commit c2b96fb
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Build

on:
push:
workflow_dispatch:

jobs:
build:
name: Build
runs-on: macos-latest

steps:
- name: Checkout
uses: actions/checkout@main

- name: Checkout theos/theos
uses: actions/checkout@main
with:
repository: theos/theos
ref: master
submodules: recursive
path: theos

- name: Checkout theos/sdks
uses: actions/checkout@main
with:
repository: theos/sdks
ref: master
sparse-checkout: iPhoneOS16.5.sdk
path: theos/sdks

- name: Ensure main utils are installed
uses: dhinakg/procursus-action@main
with:
packages: coreutils make xz ldid

- name: Build
run: |
export THEOS=theos
git submodule init
git submodule update
gmake package FINALPACKAGE=1 STRIP=0
cd packages && mv *.ipa "`basename *.ipa .ipa`.tipa"
- name: Upload artifact
uses: actions/upload-artifact@main
with:
name: artifact
path: packages/*.tipa

0 comments on commit c2b96fb

Please sign in to comment.