Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
m1337v authored Feb 25, 2024
1 parent 27219a4 commit 72f8b37
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build Theos Project

on:
push:
branches: [ main ]
tags:
- '*'
pull_request:
branches: [ main ]
workflow_dispatch:

jobs:
build-rootless:
runs-on: macos-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Set up Theos Dependencies
run: |
brew install ldid dpkg
- name: Install Theos
run: |
sudo git clone --recursive https://github.com/theos/theos.git /opt/theos
- name: Build Rootless Package
run: |
export THEOS=/opt/theos
export SDKROOT=$(xcrun --sdk iphoneos --show-sdk-path)
export TARGET=iphone:clang:latest:15.0
export ARCHS=arm64
make package ROOTLESS=1 FINALPACKAGE=1
- name: Upload Rootless Package
uses: actions/upload-artifact@v3
with:
name: RootHideManagerApp-arm64.deb
path: ./packages/*.deb

0 comments on commit 72f8b37

Please sign in to comment.