nolibgs_hello_worlds/.github/workflows/windows-build.yml

30 lines
1.1 KiB
YAML
Raw Normal View History

2021-11-01 18:48:00 +01:00
name: Windows build
on:
push:
branches: [ main ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
2021-11-01 19:05:01 +01:00
- name: Fetch submodules
run: git submodule update --init --recursive
2021-11-01 18:48:00 +01:00
- name: Get prebuilt stuff
run: |
2021-11-01 18:55:12 +01:00
C:\msys64\usr\bin\wget.exe http://static.grumpycoder.net/pixel/mips/g++-mipsel-none-elf-11.2.0.zip
C:\msys64\usr\bin\wget.exe http://lameguy64.github.io/mkpsxiso/mkpsxiso-1.20.zip
C:\msys64\usr\bin\wget.exe http://psx.arthus.net/sdk/Psy-Q/psyq-4.7-converted-full.7z
2021-11-01 19:13:05 +01:00
7z.exe x g++-mipsel-none-elf-11.2.0.zip -o"$GITHUB_WORKSPACE\mipsel"
7z.exe x mkpsxiso-1.20.zip -o"$GITHUB_WORKSPACE\mkpsxiso"
2021-11-01 19:55:42 +01:00
7z.exe x psyq-4.7-converted-full.7z -o"D:\a\nolibgs_hello_worlds\nolibgs_hello_worlds\psyq"
2021-11-01 22:14:06 +01:00
echo "$GITHUB_WORKSPACE/mipsel/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
echo "$GITHUB_WORKSPACE/mkpsxiso" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
echo $GITHUB_PATH
2021-11-01 18:48:00 +01:00
- name: Make all
2021-11-01 22:16:35 +01:00
run: make all
2021-11-01 19:38:17 +01:00