Create windows-build.yml

This commit is contained in:
Schnappy 2021-11-01 18:48:00 +01:00 committed by GitHub
parent d1df3e2e8e
commit b04629d65d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

24
.github/workflows/windows-build.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Windows build
on:
push:
branches: [ main ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Get prebuilt stuff
run: |
wget http://static.grumpycoder.net/pixel/mips/g++-mipsel-none-elf-11.2.0.zip
wget http://lameguy64.github.io/mkpsxiso/mkpsxiso-1.20.zip
wget http://psx.arthus.net/sdk/Psy-Q/psyq-4.7-converted-full.7z
7z x g++-mipsel-none-elf-11.2.0.zip -o./mipsel
7z x mkpsxiso-1.20.zip -o./mkpsxiso
7z x psyq-4.7-converted-full.7z -o./psyq
echo "$GITHUB_WORKSPACE/mkpsxiso" >> $GITHUB_PATH
echo "$GITHUB_WORKSPACE/mipsel/bin" >> $GITHUB_PATH
- name: Make all
run: make all