Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cursedUs64-git authored Mar 10, 2024
1 parent 543c586 commit a500e1c
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
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/nointro.n64/Super%20Mario%2064%20%28Japan%29.7z/Super%20Mario%2064%20%28Japan%29.z64
mv "Super Mario 64 (Japan).z64" baserom.jp.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/*
sudo apt install build-essential pkg-config git binutils-mips-linux-gnu python3 zlib1g-dev libaudiofile-dev libcapstone-dev
- name: Compile
run: make -j VERSION=jp
- name: Publish Artifact
uses: actions/upload-artifact@v2.2.4
with:
name: linuxBuild
path: 'build/jp/sm64.jp.z64'

0 comments on commit a500e1c

Please sign in to comment.