mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-21 17:57:01 +02:00
51 lines
1.5 KiB
YAML
51 lines
1.5 KiB
YAML
name: Build palera1n
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build-macOS:
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Download dependencies
|
|
run: |
|
|
cd src
|
|
curl -LOOOO https://cdn.discordapp.com/attachments/672628720497852459/1064954768021274694/checkra1n-kpf-pongo https://assets.checkra.in/downloads/preview/0.1337.1/checkra1n-macos https://cdn.discordapp.com/attachments/672628720497852459/1065189871251111966/binpack.dmg https://cdn.discordapp.com/attachments/672628720497852459/1065189871636983848/ramdisk.dmg
|
|
cd ..
|
|
curl -LO https://cdn.discordapp.com/attachments/672628720497852459/1064948547268661248/dep_root.tgz
|
|
tar xf dep_root.tgz
|
|
|
|
- name: Build
|
|
run: |
|
|
make -j$(sysctl -n hw.ncpu) macos-dist
|
|
|
|
- name: Upload macOS universal build
|
|
uses: actions/[email protected]
|
|
with:
|
|
name: palera1n-macOS
|
|
path: palera1n-macos
|
|
|
|
- name: Upload macOS x86_64 build
|
|
uses: actions/[email protected]
|
|
with:
|
|
name: palera1n-macOS (x86_64)
|
|
path: palera1n-x86_64
|
|
|
|
- name: Upload macOS arm64 build
|
|
uses: actions/[email protected]
|
|
with:
|
|
name: palera1n-macOS (arm64)
|
|
path: palera1n-arm64
|
|
|
|
- name: Upload macOS universal debug symbols
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: palera1n-macos.dSYM
|
|
path: palera1n-macos.dSYM
|