Skip to content

Update main.yml

Update main.yml #5

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Runs a set of commands using the runners shell
- name: Install Dependencies
run: |
sudo apt install -y binutils-mips-linux-gnu build-essential git libcapstone-dev pkgconf python3 bsdmainutils
wget https://github.com/n64decomp/qemu-irix/releases/download/v2.11-deb/qemu-irix-2.11.0-2169-g32ab296eef_amd64.deb
sudo dpkg -i qemu-irix-2.11.0-2169-g32ab296eef_amd64.deb
wget https://archive.org/download/super-mario-64-usa/Super%20Mario%2064%20%28U%29%20%5B%21%5D.z64
mv Super\ Mario\ 64\ \(U\)\ \[\!].z64 baserom.us.z64
chmod +x tools/*
chmod +x tools/ido5.3_compiler/usr/bin/*
chmod +x tools/ido5.3_compiler/usr/lib/*
chmod +x tools/ido5.3_compiler/lib/*
chmod +x *
sudo apt install build-essential pkg-config git binutils-mips-linux-gnu python3 zlib1g-dev libaudiofile-dev libcapstone-dev
- name: Compile
run: make -j
- name: Publish Artifact
uses: actions/upload-artifact@v2.2.4
with:
name: linuxBuild
path: 'build/jp/sm64.jp.z64'