forked from BreavyTF2/sm64-tjp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
543c586
commit a500e1c
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |