Update linux-build.yml

This commit is contained in:
Schnappy 2021-11-01 18:17:03 +01:00 committed by GitHub
parent 7a9ee320f0
commit 56851e5eaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,15 +13,23 @@ jobs:
- name: Install mipsel toolchain - name: Install mipsel toolchain
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install gcc-mipsel-linux-gnu g++-mipsel-linux-gnu binutils-mipsel-linux-gnu p7zip libtinyxml2-6 sudo apt-get install gcc-mipsel-linux-gnu g++-mipsel-linux-gnu binutils-mipsel-linux-gnu p7zip cmake build-essential libtinyxml2-6 libtinyxml-dev
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Fetch submodules - name: Fetch submodules
run: git submodule update --init --recursive run: git submodule update --init --recursive
- name: Clone mkpsxiso
uses: GuillaumeFalourd/clone-github-repo-action@v1
with:
owner: 'Lameguy64'
repository: 'mkpsxiso'
- name: Build mkpsxiso
run: |
cmake -DCMAKE_BUILD_TYPE=Release -S ${{github.workspace}}/mkpsxiso/build -B ${{github.workspace}}/mkpsxiso/build
cmake --build ${{github.workspace}}/mkpsxiso/build
echo "${{github.workspace}}/mkpsxiso/build" >> $GITHUB_PATH
- name: Get converted libs - name: Get converted libs
run: | run: |
wget http://psx.arthus.net/tools/mkpsxiso-linux.7z
wget http://psx.arthus.net/sdk/Psy-Q/psyq-4.7-converted-full.7z wget http://psx.arthus.net/sdk/Psy-Q/psyq-4.7-converted-full.7z
7z x mkpsxiso-linux.7z -o./bin
7z x psyq-4.7-converted-full.7z -o./psyq 7z x psyq-4.7-converted-full.7z -o./psyq
echo "$GITHUB_WORKSPACE/bin" >> $GITHUB_PATH echo "$GITHUB_WORKSPACE/bin" >> $GITHUB_PATH
- name: Make all - name: Make all