2021-11-02 11:27:53 +01:00
|
|
|
name: Linux archive build
|
2021-11-02 11:24:58 +01:00
|
|
|
|
|
|
|
on:
|
2021-11-13 22:52:50 +01:00
|
|
|
push:
|
|
|
|
branches: [ main ]
|
2021-11-02 11:24:58 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Get repo archive
|
|
|
|
run: |
|
2021-11-13 22:53:48 +01:00
|
|
|
wget https://github.com/ABelliqueux/nolibgs_hello_worlds/releases/download/v0.11/nolibgs_hello_worlds.zip
|
2021-11-02 11:24:58 +01:00
|
|
|
7z x nolibgs_hello_worlds.zip -o${{github.workspace}}
|
|
|
|
- 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 libtinyxml2-6 libtinyxml2-dev
|
|
|
|
- name: Clone mkpsxiso
|
|
|
|
uses: GuillaumeFalourd/clone-github-repo-action@v1
|
|
|
|
with:
|
|
|
|
owner: 'Lameguy64'
|
|
|
|
repository: 'mkpsxiso'
|
|
|
|
- name: Build mkpsxiso
|
|
|
|
run: |
|
|
|
|
sudo chown -R runner:docker ${{github.workspace}}/mkpsxiso/
|
|
|
|
mkdir ${{github.workspace}}/mkpsxiso/build
|
|
|
|
cmake -DCMAKE_BUILD_TYPE=Release -S ${{github.workspace}}/mkpsxiso/ -B ${{github.workspace}}/mkpsxiso/build
|
|
|
|
cmake --build ${{github.workspace}}/mkpsxiso/build
|
|
|
|
echo "${{github.workspace}}/mkpsxiso/build" >> $GITHUB_PATH
|
|
|
|
- name: Get converted libs
|
|
|
|
run: |
|
|
|
|
wget http://psx.arthus.net/sdk/Psy-Q/psyq-4.7-converted-full.7z
|
2021-11-02 11:30:12 +01:00
|
|
|
7z x psyq-4.7-converted-full.7z -o${{github.workspace}}/nolibgs_hello_worlds/psyq
|
2021-11-02 11:24:58 +01:00
|
|
|
- name: Make all
|
2021-11-02 11:32:55 +01:00
|
|
|
run: |
|
|
|
|
cd ${{github.workspace}}/nolibgs_hello_worlds
|
|
|
|
make all
|