Skip to content

Commit

Permalink
Switch to use roothide theos for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
NyaMisty committed Nov 11, 2023
1 parent 48fa580 commit 4a3ccf7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build-deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
- name: Check cache
id: verify-cache
run: |
echo "::set-output name=heads::`git ls-remote https://github.com/theos/theos | head -n 1 | cut -f 1`-`git ls-remote https://github.com/xybp888/iOS-SDKs | head -n 1 | cut -f 1`"
#echo "::set-output name=heads::`git ls-remote https://github.com/theos/theos | head -n 1 | cut -f 1`-`git ls-remote https://github.com/xybp888/iOS-SDKs | head -n 1 | cut -f 1`"
echo "::set-output name=heads::`git ls-remote https://github.com/roothide/theos | head -n 1 | cut -f 1`-`git ls-remote https://github.com/xybp888/iOS-SDKs | head -n 1 | cut -f 1`"
- name: Use cache
id: cache
Expand All @@ -33,6 +34,8 @@ jobs:

- name: Prepare Theos
uses: Randomblock1/theos-action@v1
with:
theos-src: 'https://github.com/roothide/theos'

- name: Get tag
if: ${{ startsWith(github.ref, 'refs/tags/') }}
Expand Down
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ THEOS_PACKAGE_SCHEME=rootless
PACKAGE_BUILDNAME := rootless
else ifdef ROOTHIDE
$(info Build as a ROOTHIDE Substrate Tweak)
# THEOS_PACKAGE_ARCH := iphoneos-arm64e # must set afterwards
# THEOS_PACKAGE_ARCH := iphoneos-arm64e # must set afterwards if using original theos
THEOS_PACKAGE_SCHEME=roothide
PACKAGE_BUILDNAME := roothide
else # ROOTLESS / ROOTHIDE
$(info Build as a ROOTFUL Substrate Tweak)
Expand All @@ -20,9 +21,9 @@ endif

include $(THEOS)/makefiles/common.mk

ifdef ROOTHIDE
THEOS_PACKAGE_ARCH := iphoneos-arm64e
endif
# ifdef ROOTHIDE
# THEOS_PACKAGE_ARCH := iphoneos-arm64e
# endif

TWEAK_NAME = Surge4Advanced

Expand Down

0 comments on commit 4a3ccf7

Please sign in to comment.