Skip to content

main/mbar: match functions #39

main/mbar: match functions

main/mbar: match functions #39

Workflow file for this run

name: build_pr
on:
pull_request_target:
branches: [ main ]
jobs:
build:
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
runs-on: ubuntu-22.04
steps:
- name: Checkout main repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Checkout binaries
uses: actions/checkout@v3
with:
repository: polybiusproxy/p3_binaries
token: ${{ secrets.BINARY_ACCESS_TOKEN }}
path: iso
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Upgrade pip
run: python3 -m pip install --upgrade pip setuptools wheel
- name: Decrypt main game (jul12)
run: echo ${{ secrets.JUL12_ENCRYPTION_KEY }} | openssl enc -d -aes-256-cbc -pass stdin -pbkdf2 -in iso/jul12/SCPS_150.17.aes -out iso/SCPS_150.17
- name: Decrypt WP2 module (jul12)
run: echo ${{ secrets.JUL12_ENCRYPTION_KEY }} | openssl enc -d -aes-256-cbc -pass stdin -pbkdf2 -in iso/jul12/WAVE2PS2.IRX.aes -out iso/WAVE2PS2.IRX
- name: Decrypt TAPCTRL module (jul12)
run: echo ${{ secrets.JUL12_ENCRYPTION_KEY }} | openssl enc -d -aes-256-cbc -pass stdin -pbkdf2 -in iso/jul12/TAPCTRL.IRX.aes -out iso/TAPCTRL.IRX
- name: Add i686 architecture
run: sudo dpkg --add-architecture i386
- name: Install Ubuntu packages
run: sudo apt-get update && sudo apt-get install -y gcc-mipsel-linux-gnu binutils-mips-linux-gnu ninja-build libc6:i386 libncurses5:i386 libstdc++6:i386
- name: Install Python modules
run: python3 -m pip install --upgrade -r requirements.txt
- name: Configure
run: python3 ./configure.py
- name: Compile
run: ninja
- name: Upload progress report
uses: actions/upload-artifact@v4
with:
name: ntscj_july12_report
path: ./progress/report.json