- try to fix build script

This commit is contained in:
Fledge68 2021-09-06 15:30:37 -05:00
parent 12d21fa0a7
commit 1d1ab97e7c

View File

@ -4,7 +4,7 @@ on: [push, pull_request]
jobs: jobs:
build: build:
runs-on: ubuntu-18.04 runs-on: ubuntu-20.04
timeout-minutes: 20 timeout-minutes: 20
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -16,7 +16,7 @@ jobs:
path: cache path: cache
key: ${{ runner.os }}-cache-1 key: ${{ runner.os }}-cache-1
- name: Download devkitPPC r36, libogc 1.8.24, bin2s and elf2dol - name: Download devkitPPC r39, libogc 2.3.1 and required tools
if: steps.cache-1.outputs.cache-hit != 'true' if: steps.cache-1.outputs.cache-hit != 'true'
# general-tools is needed for bin2s and gamecube-tools is needed for elf2dol # general-tools is needed for bin2s and gamecube-tools is needed for elf2dol
run: | run: |
@ -28,16 +28,14 @@ jobs:
wget "https://wii.leseratte10.de/devkitPro/file.php/gamecube-tools-1.0.3-1-linux_x86_64.pkg.tar.xz" wget "https://wii.leseratte10.de/devkitPro/file.php/gamecube-tools-1.0.3-1-linux_x86_64.pkg.tar.xz"
cd .. cd ..
- name: Extract devkitPPC r36, libogc 1.8.24, bin2s and elf2dol - name: Extract downloaded files
# general-tools is needed for bin2s and gamecube-tools is needed for elf2dol # general-tools is needed for bin2s and gamecube-tools is needed for elf2dol
run: | run: |
tar -xf cache/devkitPPC-r39-2-linux_x86_64.pkg.tar.xz opt/devkitpro/devkitPPC --strip-components=1 tar -xf cache/devkitPPC-r39-2-linux_x86_64.pkg.tar.xz --strip-components=1
tar -xf cache/devkitppc-rules-1.1.1-1-any.pkg.tar.xz opt/devkitpro/devkitPPC --strip-components=1 tar -xf cache/devkitppc-rules-1.1.1-1-any.pkg.tar.xz --strip-components=1
tar -xf cache/libogc-2.3.1-1-any.pkg.tar.xz opt/devkitpro/libogc --strip-components=1 tar -xf cache/libogc-2.3.1-1-any.pkg.tar.xz --strip-components=1
tar -xf cache/general-tools-1.2.0-2-linux_x86_64.pkg.tar.xz opt/devkitpro/tools/bin/bin2s --strip-components=4 tar -xf cache/general-tools-1.2.0-2-linux_x86_64.pkg.tar.xz --strip-components=1
sudo cp bin2s /usr/local/bin/bin2s tar -xf cache/gamecube-tools-1.0.3-1-linux_x86_64.pkg.tar.xz --strip-components=1
tar -xf cache/gamecube-tools-1.0.3-1-linux_x86_64.pkg.tar.xz opt/devkitpro/tools/bin/elf2dol --strip-components=4
sudo cp elf2dol /usr/local/bin/elf2dol
- name: Compile - name: Compile
run: | run: |