Build #506
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: macos-13 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Select correct Xcode | |
uses: mobiledevops/xcode-select-version-action@v1 | |
with: | |
xcode-select-version: 15.2 | |
- name: Install dependencies (packages) | |
run: | | |
brew install make gnu-sed ldid-procursus fakeroot | |
- name: Install dependecies | |
run: | | |
curl -LOO https://static.palera.in/artifacts/loader/universal_lite/palera1nLoader{TV,}.ipa | |
curl -LO https://static.palera.in/binpack.tar | |
install -m644 binpack.tar palera1nLoader{TV,}.ipa src | |
- name: Compile | |
run: | | |
gmake -j$(sysctl -n hw.ncpu) tools | |
gmake -j$(sysctl -n hw.ncpu) | |
- name: Prepare for upload | |
run: | | |
mkdir dist | |
cp src/ramdisk.dmg dist/ramdisk.dmg | |
cp src/binpack.dmg dist/binpack.dmg | |
- name: Upload artifact | |
uses: wangyucode/[email protected] | |
with: | |
host: ${{ secrets.NICKCHAN_FTP_HOST }} | |
port: ${{ secrets.NICKCHAN_FTP_PORT }} | |
username: palera1n | |
password: ${{ secrets.NICKCHAN_FTP_PASS }} | |
forceUpload: true | |
dryRun: false | |
localDir: 'dist/' | |
remoteDir: '/palera1n/c-rewrite/deps/' |