2020-12-24 05:09:18 +00:00
|
|
|
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
|
2022-04-18 09:19:25 +00:00
|
|
|
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'
|
2020-12-24 05:09:18 +00:00
|
|
|
- name: Install Python Dependencies
|
|
|
|
run: pip3 install gitpython
|
2020-12-24 22:49:22 +00:00
|
|
|
- name: More dependencies
|
2020-12-24 05:09:18 +00:00
|
|
|
uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
repository: ${{ secrets.SECRETREPO }}
|
|
|
|
token: ${{ secrets.SECRETTOKEN }}
|
2020-12-24 22:49:22 +00:00
|
|
|
path: dep
|
|
|
|
- name: Get the dependency
|
|
|
|
run: cp dep/${{ secrets.ANOTHERSECRET }} .
|
2020-12-24 05:09:18 +00:00
|
|
|
- name: Build Libultra
|
|
|
|
run: make -C libreultra -j4
|
|
|
|
- name: Build Naudio
|
|
|
|
run: make -C libreultra naudio -j4
|
|
|
|
- name: Build Tools
|
2022-04-18 05:21:45 +00:00
|
|
|
run: make -C tools
|
2020-12-24 05:09:18 +00:00
|
|
|
- name: Assemble F3DEX2
|
|
|
|
run: make -C f3dex2 VERSION=2.04H ARMIPS=../tools/armips
|
2020-12-24 22:59:55 +00:00
|
|
|
- name: Prepare Kirby 64 for building
|
2021-01-17 02:26:14 +00:00
|
|
|
run: make setup
|
2020-12-24 05:09:18 +00:00
|
|
|
- name: Build Kirby 64
|
2020-12-24 06:43:20 +00:00
|
|
|
run: make -j4 VERBOSE=0
|