From 2b6acda665c42eafae7ea525a789a0a52ac3199e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=ADas=20Israelson?= <57065102+israpps@users.noreply.github.com> Date: Wed, 7 Feb 2024 15:57:45 -0300 Subject: [PATCH] Add matrix and dependency download to CI --- .github/workflows/compile.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 2bba6f2b..ba9d2126 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -17,6 +17,7 @@ jobs: eth: ["ETH=0", "ETH=1"] bdmstuff: ["EXFAT=0", "EXFAT=1", "EXFAT=1 MX4SIO=1"] ds34: ["DS34=0", "DS34=1"] + coh: ["COH=0", "COH=1"] runs-on: ubuntu-latest container: ps2dev/ps2dev:v1.0 steps: @@ -30,6 +31,14 @@ jobs: git config --global --add safe.directory "$GITHUB_WORKSPACE" git fetch --prune --unshallow + - name: get romimg dependency + if: matrix.coh == 'COH=1' + run: | + wget https://github.com/israpps/ROMIMG/releases/download/Latest/ROMIMG-linux-x86.7z -O ROMIMG.7z + mkdir tools + 7z e ROMIMG.7z -otools/ * -r + rm -f ROMIMG.7z + - name: Compile wLaunchELF run: | make rebuild ${{ matrix.eth }} ${{ matrix.sior }} ${{ matrix.bdmstuff }} ${{ matrix.ds34 }} ${{ matrix.xfrom }} ${{ github.event.inputs.make_args }}