Skip to content

Update amsfx, SHthorntail, BWlog to match new-er static func naming c… #1413

Update amsfx, SHthorntail, BWlog to match new-er static func naming c…

Update amsfx, SHthorntail, BWlog to match new-er static func naming c… #1413

Workflow file for this run

name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
if: ${{ github.event.pull_request.head.repo.full_name == github.repository || github.event_name == 'push' }}
runs-on: ubuntu-24.04
steps:
- name: Checkout this repo
uses: actions/checkout@v2
with:
submodules: recursive
- name: Install system packages
run: |
sudo apt-get update
sudo apt-get install -y $(cat packages.txt | tr '\n' ' ')
- name: Install Python packages and setup environment
run: |
python3 -m venv .venv
. .venv/bin/activate
pip3 install -r requirements.txt
- name: Download IDO static recomp
run: |
. .venv/bin/activate
python3 ./dino.py update-ido
- name: Checkout baserom
uses: actions/checkout@v2
with:
repository: zestydevy/dinosaur-planet-private
token: ${{ secrets.PRIVATE_REPO_ACCESS }}
path: baserom
- name: Decrypt baserom
run: echo ${{ secrets.DINOSAUR_PLANET_BASEROM }} | openssl enc -d -aes-256-cbc -pass stdin -pbkdf2 -in baserom/baserom.z64.aes -out baserom.z64
- name: Extract ROM
run: |
. .venv/bin/activate
python3 ./dino.py extract
- name: Build (matching)
run: |
. .venv/bin/activate
python3 ./dino.py configure
python3 ./dino.py build
- name: Build (non-matching, non-equivalent)
run: |
. .venv/bin/activate
python3 ./dino.py configure --all-code
python3 ./dino.py build --no-verify