Run Makefile #664
This file contains hidden or 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: Run Makefile | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: macos-14 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Install dependencies (packages) | |
| run: | | |
| curl -LO https://github.com/ProcursusTeam/ldid/releases/download/v2.1.5-procursus7/ldid_macosx_x86_64 | |
| sudo install -m755 ldid_macosx_x86_64 /usr/local/bin/ldid | |
| brew install 7zip gnu-sed | |
| - name: Use Xcode 15.4 | |
| run: | | |
| sudo xcode-select -s /Applications/Xcode_15.4.app/Contents/Developer | |
| agvtool new-version -all $(git rev-parse HEAD) | |
| - name: Compile palera1nLoader | |
| run: | | |
| make package PLATFORM=iphoneos PACKAGE_NAME=palera1nLoader | |
| make package PLATFORM=appletvos PACKAGE_NAME=palera1nLoaderTV | |
| - name: Compress Headers | |
| run: zip -r packages/patched_headers.zip apple-include-iphoneos apple-include-appletvos | |
| - name: Upload artifact | |
| uses: wangyucode/sftp-upload-action@v1.4.8 | |
| with: | |
| host: ${{ secrets.NICKCHAN_FTP_HOST }} | |
| port: ${{ secrets.NICKCHAN_FTP_PORT }} | |
| username: palera1n | |
| password: ${{ secrets.NICKCHAN_FTP_PASS }} | |
| forceUpload: true | |
| dryRun: false | |
| localDir: 'packages/' | |
| remoteDir: '/www/static.palera.in/artifacts/loader/universal_lite' | |