From 83c4b223f76b2ba91ccd814a948f33ae1ec5fb40 Mon Sep 17 00:00:00 2001 From: Schnappy Date: Wed, 3 Nov 2021 11:57:37 +0100 Subject: [PATCH] Update macos-build.yml --- .github/workflows/macos-build.yml | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/.github/workflows/macos-build.yml b/.github/workflows/macos-build.yml index bd36800..fca84b6 100644 --- a/.github/workflows/macos-build.yml +++ b/.github/workflows/macos-build.yml @@ -16,12 +16,24 @@ jobs: run : | brew update --verbose brew install tinyxml2 - - name: Install mipsel toolchain + - name: Install mipsel binutils run: | wget https://raw.githubusercontent.com/grumpycoders/pcsx-redux/a899d09d81cf602ef48e51cda09a6c62638fa5c5/tools/macos-mips/mipsel-none-elf-binutils.rb -O ${{github.workspace}}/mipsel-none-elf-binutils.rb - wget https://raw.githubusercontent.com/grumpycoders/pcsx-redux/a899d09d81cf602ef48e51cda09a6c62638fa5c5/tools/macos-mips/mipsel-none-elf-gcc.rb -O ${{github.workspace}}/mipsel-none-elf-gcc.rb brew install ${{github.workspace}}/mipsel-none-elf-binutils.rb --debug + - name: Upload mipsel-binutils + uses: actions/upload-artifact@v2 + with: + name: mipsel-none-elf-binutils-macos + path: /usr/local/Cellar/mipsel-none-elf-binutils/ + - name: Install mipsel gcc + run: | + wget https://raw.githubusercontent.com/grumpycoders/pcsx-redux/a899d09d81cf602ef48e51cda09a6c62638fa5c5/tools/macos-mips/mipsel-none-elf-gcc.rb -O ${{github.workspace}}/mipsel-none-elf-gcc.rb brew install ${{github.workspace}}/mipsel-none-elf-gcc.rb --debug + - name: Upload mipsel-gcc + uses: actions/upload-artifact@v2 + with: + name: mipsel-none-elf-gcc-macos + path: /usr/local/Cellar/mipsel-none-elf-gcc/ - name: Build mkpsxiso run: | wget https://github.com/Lameguy64/mkpsxiso/archive/refs/heads/master.zip -O ${{github.workspace}}/master.zip @@ -32,14 +44,14 @@ jobs: cmake -DCMAKE_BUILD_TYPE=Release -S ${{github.workspace}}/mkpsxiso-master -B ${{github.workspace}}/mkpsxiso-master/build cmake --build ${{github.workspace}}/mkpsxiso-master/build echo "${{github.workspace}}/mkpsxiso-master/build" >> $GITHUB_PATH + - name: Upload mkpsxiso-macos + uses: actions/upload-artifact@v2 + with: + name: mkpsxiso-macos + path: ${{github.workspace}}/mkpsxiso-master/build - 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 - - name: Upload mkpsxiso-macos - uses: actions/upload-artifact@v2 - with: - name: mkpsxiso-macos - path: ${{github.workspace}}/mkpsxiso-master/build