2021-11-01 16:38:57 +01:00
|
|
|
name: Linux build
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ main ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Install mipsel toolchain
|
2021-11-01 16:41:12 +01:00
|
|
|
run: |
|
|
|
|
sudo apt-get update
|
2021-11-01 17:33:03 +01:00
|
|
|
sudo apt-get install gcc-mipsel-linux-gnu g++-mipsel-linux-gnu binutils-mipsel-linux-gnu p7zip libtinyxml2-6
|
2021-11-01 16:44:32 +01:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Fetch submodules
|
|
|
|
run: git submodule update --init --recursive
|
2021-11-01 16:38:57 +01:00
|
|
|
- name: Get converted libs
|
2021-11-01 16:41:12 +01:00
|
|
|
run: |
|
2021-11-01 17:31:52 +01:00
|
|
|
wget http://psx.arthus.net/tools/mkpsxiso-linux.7z
|
2021-11-01 16:41:12 +01:00
|
|
|
wget http://psx.arthus.net/sdk/Psy-Q/psyq-4.7-converted-full.7z
|
2021-11-01 17:31:52 +01:00
|
|
|
7z x mkpsxiso-linux.7z -o./bin
|
2021-11-01 16:41:12 +01:00
|
|
|
7z x psyq-4.7-converted-full.7z -o./psyq
|
2021-11-01 17:31:52 +01:00
|
|
|
echo "$GITHUB_WORKSPACE/bin" >> $GITHUB_PATH
|
2021-11-01 16:44:32 +01:00
|
|
|
- name: Make all
|
2021-11-01 16:38:57 +01:00
|
|
|
run: make all
|