Merge pull request #77 from MikeIsAStar/do-not-automatically-display-… #229
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 Dev | |
on: | |
push: | |
pull_request: | |
jobs: | |
exploit: | |
name: Exploit | |
runs-on: ubuntu-latest | |
container: devkitpro/devkitppc:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build Exploit | |
run: | | |
cd ./exploit | |
python3 make-sbcm-patch.py -j | |
cd .. | |
- name: Upload Exploit | |
uses: actions/[email protected] | |
with: | |
name: exploit | |
path: ./exploit/sbcm | |
payload: | |
name: Payloads | |
runs-on: ubuntu-latest | |
container: devkitpro/devkitppc:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build Payload | |
run: | | |
cd ./payload | |
python3 make-payload.py -j | |
mv ./binary ./payload | |
cd .. | |
- name: Upload Payload Files | |
uses: actions/[email protected] | |
with: | |
name: payload | |
path: ./payload/payload | |
- name: Upload Payload .ELF Files | |
uses: actions/[email protected] | |
with: | |
name: payload-elf | |
path: ./payload/build | |
stage1: | |
name: Stage 1 and 0 | |
runs-on: ubuntu-latest | |
container: devkitpro/devkitppc:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build Stage 1 | |
run: | | |
cd ./stage1 | |
python3 make-stage1.py -j | |
cd .. | |
- name: Upload Stage 1 | |
uses: actions/[email protected] | |
with: | |
name: stage1 | |
path: ./stage1/build/stage1.bin | |
- name: Build Stage 0 | |
run: | | |
cd ./patch | |
python3 make-patch.py -j | |
cd .. | |
- name: Upload Stage 0 | |
uses: actions/[email protected] | |
with: | |
name: stage0 | |
path: ./patch/build/*.txt | |
- name: Upload Development Private key | |
uses: actions/[email protected] | |
with: | |
name: private-key.pem | |
path: ./misc/private-key-dev.pem | |
package: | |
name: Package | |
needs: [exploit, payload, stage1] | |
runs-on: ubuntu-latest | |
container: devkitpro/devkitppc:latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
name: exploit | |
path: ./payload/sbcm | |
- uses: actions/[email protected] | |
with: | |
name: payload | |
path: ./payload/binary | |
- uses: actions/[email protected] | |
with: | |
name: stage1 | |
path: ./payload | |
- uses: actions/[email protected] | |
with: | |
name: private-key.pem | |
path: ./payload | |
- name: Arrange naming | |
run: | | |
mv ./payload/private-key-dev.pem ./payload/private-key.pem | |
- uses: actions/[email protected] | |
with: | |
name: packaged-payload-dev | |
path: ./payload |