nolibgs_hello_worlds/.github/workflows/linux-build.yml
2021-11-01 17:24:51 +01:00

38 lines
1.0 KiB
YAML

name: Linux build
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install mipsel toolchain
run: |
sudo apt-get update
sudo apt-get install gcc-mipsel-linux-gnu g++-mipsel-linux-gnu binutils-mipsel-linux-gnu p7zip cmake build-essential libtinyxml-dev
- name: Clone mkpsxiso
uses: GuillaumeFalourd/clone-github-repo-action@v1
with:
owner: 'Lameguy64'
repository: 'mkpsxiso'
- name: Build mkpsxiso
run: |
cd mkpsxiso
cmake -DCMAKE_BUILD_TYPE=Release -S ./mkpsxiso -B ./mkpsxiso/build
cmake --build ./mkpsxiso/build
echo "$GITHUB_WORKSPACE/mkpsxiso/build" >> $GITHUB_PATH
cd $GITHUB_WORKSPACE
- uses: actions/checkout@v2
- name: Fetch submodules
run: git submodule update --init --recursive
- name: Get converted libs
run: |
wget http://psx.arthus.net/sdk/Psy-Q/psyq-4.7-converted-full.7z
7z x psyq-4.7-converted-full.7z -o./psyq
- name: Make all
run: make all