Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 36 additions & 35 deletions .github/workflows/build_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,47 +2,48 @@ name: build_pr

on:
pull_request_target:
branches: [ master ]
branches: [master]

jobs:
build_pr:
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
runs-on: ubuntu-latest
steps:
- name: Checkout this repo
uses: actions/checkout@v4
with:
submodules: recursive
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Checkout baserom
uses: actions/checkout@v4
with:
repository: mkst/conker-private
token: ${{ secrets.PRIVATE_REPO_ACCESS }}
path: baserom
- name: Decrypt baserom
run: echo ${{ secrets.CONKER_BASEROM_US }} | openssl enc -d -aes-256-cbc -pass stdin -pbkdf2 -in baserom/baserom.us.z64.aes -out baserom.us.z64
- name: Checkout this repo
uses: actions/checkout@v4
with:
submodules: recursive
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Checkout baserom
uses: actions/checkout@v4
with:
repository: mkst/conker-private
token: ${{ secrets.PRIVATE_REPO_ACCESS }}
path: baserom
persist-credentials: false
- name: Decrypt baserom
run: echo ${{ secrets.CONKER_BASEROM_US }} | openssl enc -d -aes-256-cbc -pass stdin -pbkdf2 -in baserom/baserom.us.z64.aes -out baserom.us.z64

- name: Perform make extract (rom)
uses: docker://ghcr.io/mkst/conker:latest
with:
args: make extract
- name: Perform make extract (rom)
uses: docker://ghcr.io/mkst/conker:latest
with:
args: make extract

- name: Perform make extract (code)
uses: docker://ghcr.io/mkst/conker:latest
with:
args: sh -c "cd conker && make extract"
- name: Perform make (code)
uses: docker://ghcr.io/mkst/conker:latest
with:
args: sh -c "cd conker && make --jobs"
- name: Perform make replace
uses: docker://ghcr.io/mkst/conker:latest
with:
args: sh -c "cd conker && make replace"
- name: Perform make extract (code)
uses: docker://ghcr.io/mkst/conker:latest
with:
args: sh -c "cd conker && make extract"
- name: Perform make (code)
uses: docker://ghcr.io/mkst/conker:latest
with:
args: sh -c "cd conker && make --jobs"
- name: Perform make replace
uses: docker://ghcr.io/mkst/conker:latest
with:
args: sh -c "cd conker && make replace"

- name: Perform make
uses: docker://ghcr.io/mkst/conker:latest
with:
args: make --jobs
- name: Perform make
uses: docker://ghcr.io/mkst/conker:latest
with:
args: make --jobs
Loading