kirby64/.github/workflows/push.yml
2022-04-18 05:19:25 -04:00

49 lines
1.4 KiB
YAML

name: Kirby 64 Pull Request CI
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout reposistory
uses: actions/checkout@v2
with:
submodules: recursive
- name: Download Qemu Irix
run: wget https://github.com/n64decomp/qemu-irix/releases/download/v2.11-deb/qemu-irix-2.11.0-2169-g32ab296eef_amd64.deb
- name: Install Qemu Irix
run: sudo dpkg -i qemu-irix-2.11.0-2169-g32ab296eef_amd64.deb
- name: Install Dependencies
run: sudo apt update && sudo apt install -y binutils-mips-linux-gnu gcc git gcc-mips-linux-gnu
- name: Install Python 3.10
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install Python Dependencies
run: pip3 install gitpython
- name: More dependencies
uses: actions/checkout@v2
with:
repository: ${{ secrets.SECRETREPO }}
token: ${{ secrets.SECRETTOKEN }}
path: dep
- name: Get the dependency
run: cp dep/${{ secrets.ANOTHERSECRET }} .
- name: Build Libultra
run: make -C libreultra -j4
- name: Build Naudio
run: make -C libreultra naudio -j4
- name: Build Tools
run: make -C tools
- name: Assemble F3DEX2
run: make -C f3dex2 VERSION=2.04H ARMIPS=../tools/armips
- name: Prepare Kirby 64 for building
run: make setup
- name: Build Kirby 64
run: make -j4 VERBOSE=0