* Merge 'main' into 'slim-building' (#493) * Remove java-16-openjdk from environmentFailsafes() Versions that use 16 can use 17 as well. Instead of wasting storage and installing both, use just 17 instead. * Jailbreak JIT fixes - palera1n detection - enable JIT if jailbreak bit is set * github.dev moment Fix syntax error * README changes * Requirements + tvOS things * Produce a "slimmed" build Slimmed builds only include the Java 8 runtime, meaning only 1.16.5 and lower can be played. Made for those tight on storage or only using older versions. * Move zip around * No need for the * glob * Escape globs * --exclude instead of -x I literally have no idea what's going on, this probably won't fix it * Payload * bruh
80 lines
2.2 KiB
YAML
80 lines
2.2 KiB
YAML
name: Development build
|
|
|
|
on:
|
|
pull_request:
|
|
branches-ignore:
|
|
- 'l10n_main'
|
|
push:
|
|
branches-ignore:
|
|
- 'l10n_main'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
name: Development build
|
|
runs-on: MacStadium
|
|
steps:
|
|
- name: Remove work folders
|
|
env:
|
|
password: ${{ secrets.ELLIE_MINI_SECRET }}
|
|
run: |
|
|
echo "before"
|
|
ls -lah ./
|
|
echo $password | sudo -S rm -rf ./* || true
|
|
echo $password | sudo -S rm -rf ./.??* || true
|
|
echo "after"
|
|
ls -lah ./
|
|
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Checkout repository submodules
|
|
run: git submodule update --init --recursive
|
|
|
|
- name: Get JRE8
|
|
uses: dawidd6/action-download-artifact@v2
|
|
with:
|
|
github_token: ${{secrets.GITHUB_TOKEN}}
|
|
workflow: build.yml
|
|
path: depends
|
|
workflow_conclusion: success
|
|
repo: PojavLauncherTeam/android-openjdk-build-multiarch
|
|
branch: jre8-ios-jitjailed
|
|
name: jre8-ios-aarch64
|
|
|
|
- name: Get JRE17
|
|
uses: dawidd6/action-download-artifact@v2
|
|
with:
|
|
github_token: ${{secrets.GITHUB_TOKEN}}
|
|
workflow: build.yml
|
|
path: depends
|
|
workflow_conclusion: success
|
|
repo: PojavLauncherTeam/android-openjdk-build-multiarch
|
|
branch: buildjre17
|
|
name: jre17-ios-aarch64
|
|
|
|
- name: Build packages
|
|
env:
|
|
password: ${{ secrets.ELLIE_MINI_SECRET }}
|
|
run: |
|
|
export NOSTDIN=1 SUDOPASS=$password RUNNER=1
|
|
gmake -j$(sysctl -n hw.ncpu) dsym
|
|
|
|
- name: Upload regular ipa
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: net.kdt.pojavlauncher.ipa
|
|
path: artifacts/net.kdt.pojavlauncher-*.ipa
|
|
|
|
- name: Upload slimmed ipa
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: net.kdt.pojavlauncher.slimmed.ipa
|
|
path: artifacts/net.kdt.pojavlauncher.slimmed-*.ipa
|
|
|
|
- name: Upload PojavLauncher.dSYM
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: PojavLauncher.dSYM
|
|
path: artifacts/PojavLauncher.dSYM
|