Skip to content

Commit

Permalink
project: add lite build without Network Extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
osy committed Aug 12, 2021
1 parent af438f4 commit 01607a1
Show file tree
Hide file tree
Showing 4 changed files with 334 additions and 2 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,23 @@ jobs:
with:
name: Jitterbug
path: Jitterbug.xcarchive.tgz
build-ios-lite:
name: Jitterbug Lite
runs-on: macos-10.15
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
- name: Build
run: xcodebuild archive -archivePath JitterbugLite -scheme JitterbugLite -configuration Release CODE_SIGNING_ALLOWED=NO
- name: Compress
run: tar cf JitterbugLite.xcarchive.tgz JitterbugLite.xcarchive
- name: Upload
uses: actions/upload-artifact@v2
with:
name: JitterbugLite
path: JitterbugLite.xcarchive.tgz
build-macos-ui:
name: Jitterbug (macOS)
runs-on: macos-10.15
Expand Down Expand Up @@ -153,6 +170,39 @@ jobs:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
repository: ${{ secrets.DISPATCH_ALTSTORE_REPO_NAME }}
event-type: new-release
package-ipa-lite:
name: Package IPA Lite
runs-on: ubuntu-20.04
needs: build-ios-lite
if: github.event_name == 'release' || github.event.inputs.test_release == 'true'
steps:
- name: Download Artifact
uses: actions/download-artifact@v2
with:
name: JitterbugLite
- name: Package IPA
run: |
tar xf JitterbugLite.xcarchive.tgz
mv JitterbugLite.xcarchive/Products/Applications Payload
zip -r JitterbugLite.ipa Payload -x "._*" -x ".DS_Store" -x "__MACOSX"
- name: Upload Release Asset
if: github.event_name == 'release'
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: JitterbugLite.ipa
asset_name: JitterbugLite.ipa
asset_content_type: application/octet-stream
- name: Send Dispatch Event
if: github.event_name == 'release'
continue-on-error: true
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
repository: ${{ secrets.DISPATCH_ALTSTORE_REPO_NAME }}
event-type: new-release
package-dmg:
name: Package DMG
runs-on: macos-10.15
Expand Down
Loading

0 comments on commit 01607a1

Please sign in to comment.