Skip to content

Commit

Permalink
Setup GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhduytran0 committed Mar 2, 2024
1 parent c3f9d15 commit ed2e4f5
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 6 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Theos CI

on:
push:
pull_request:

jobs:
build:

runs-on: macos-14

steps:
- uses: actions/checkout@v3

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

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

- name: Build
run: |
brew install make xz ldid
export THEOS=theos
# make package FINALPACKAGE=1 THEOS_PACKAGE_SCHEME=rootful
make package FINALPACKAGE=1 THEOS_PACKAGE_SCHEME=rootless
# make package FINALPACKAGE=1 THEOS_PACKAGE_SCHEME=roothide
- name: Upload packages
uses: actions/upload-artifact@v3
with:
name: packages
path: packages/*.deb
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
ARCHS := arm64 arm64e
TARGET := iphone:clang:latest:15.0
TARGET := iphone:clang:16.5:15.0
INSTALL_TARGET_PROCESSES = SpringBoard
THEOS_PACKAGE_SCHEME := rootless

include $(THEOS)/makefiles/common.mk
# TARGET_CODESIGN = fastPathSign
Expand Down
2 changes: 0 additions & 2 deletions TrollPadPrefs/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
TARGET := iphone:clang:latest:15.0

include $(THEOS)/makefiles/common.mk

BUNDLE_NAME = TrollPad
Expand Down
1 change: 0 additions & 1 deletion Tweak.x
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include <dlfcn.h>
#include <stdbool.h>
#include <unistd.h>
#include <xpc/xpc.h>
#include <dispatch/dispatch.h>

// #define DEBUG_LOG_IDIOM
Expand Down
1 change: 0 additions & 1 deletion control
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ Maintainer: khanhduytran0
Author: khanhduytran0
Section: Tweaks
Depends: mobilesubstrate (>= 0.9.5000), firmware (>= 15.0), plistbuddy
Recommends: oldabi

0 comments on commit ed2e4f5

Please sign in to comment.