Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Commit

Permalink
Add build action
Browse files Browse the repository at this point in the history
  • Loading branch information
LillieH1000 committed May 22, 2024
1 parent a72fc63 commit 2c69cc3
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Generate Debs

on:
push:
branches: [ "v5" ]
pull_request:
branches: [ "v5" ]

jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4

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

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

- name: Build Package
run: |
brew install make xz ldid
export THEOS=theos
gmake clean package FINALPACKAGE=1
gmake clean package FINALPACKAGE=1 THEOS_PACKAGE_SCHEME=rootless
- name: Upload Debs
uses: actions/upload-artifact@v4
with:
name: debs
path: ./packages/*.deb

0 comments on commit 2c69cc3

Please sign in to comment.