Update macos-build.yml
This commit is contained in:
parent
034adcfc36
commit
9b3f494afa
17
.github/workflows/macos-build.yml
vendored
17
.github/workflows/macos-build.yml
vendored
@ -9,19 +9,32 @@ jobs:
|
|||||||
runs-on: macOS-latest
|
runs-on: macOS-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Fetch submodules
|
||||||
|
run: git submodule update --init --recursive
|
||||||
- name: Install tinyxml2
|
- name: Install tinyxml2
|
||||||
run : |
|
run : |
|
||||||
brew update --verbose
|
brew update --verbose
|
||||||
brew install tinyxml2
|
brew install tinyxml2
|
||||||
|
- name: Install mipsel toolchain
|
||||||
|
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
|
||||||
|
brew install ${{github.workspace}}/mipsel-none-elf-gcc.rb --debug
|
||||||
- name: Build mkpsxiso
|
- name: Build mkpsxiso
|
||||||
run: |
|
run: |
|
||||||
wget https://github.com/Lameguy64/mkpsxiso/archive/refs/heads/master.zip -O ${{github.workspace}}/master.zip
|
wget https://github.com/Lameguy64/mkpsxiso/archive/refs/heads/master.zip -O ${{github.workspace}}/master.zip
|
||||||
7z x ${{github.workspace}}/master.zip -o${{github.workspace}}
|
7z x ${{github.workspace}}/master.zip -o${{github.workspace}}
|
||||||
awk 'n>=4 { print a[n%7] } { a[n%7]=$0; n=n+1 }' ${{github.workspace}}/mkpsxiso-master/CMakeLists.txt >> ${{github.workspace}}/mkpsxiso-master/CMakeLists.txt.tmp
|
awk 'n>=4 { print a[n%7] } { a[n%7]=$0; n=n+1 }' ${{github.workspace}}/mkpsxiso-master/CMakeLists.txt >> ${{github.workspace}}/mkpsxiso-master/CMakeLists.txt.tmp
|
||||||
mv -f ${{github.workspace}}/mkpsxiso-master/CMakeLists.txt.tmp ${{github.workspace}}/mkpsxiso-master/CMakeLists.txt
|
mv -f ${{github.workspace}}/mkpsxiso-master/CMakeLists.txt.tmp ${{github.workspace}}/mkpsxiso-master/CMakeLists.txt
|
||||||
cat ${{github.workspace}}/mkpsxiso-master/CMakeLists.txt
|
|
||||||
mkdir ${{github.workspace}}/mkpsxiso-master/build
|
mkdir ${{github.workspace}}/mkpsxiso-master/build
|
||||||
ls -l ${{github.workspace}}
|
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release -S ${{github.workspace}}/mkpsxiso-master -B ${{github.workspace}}/mkpsxiso-master/build
|
cmake -DCMAKE_BUILD_TYPE=Release -S ${{github.workspace}}/mkpsxiso-master -B ${{github.workspace}}/mkpsxiso-master/build
|
||||||
cmake --build ${{github.workspace}}/mkpsxiso-master/build
|
cmake --build ${{github.workspace}}/mkpsxiso-master/build
|
||||||
echo "${{github.workspace}}/mkpsxiso-master/build" >> $GITHUB_PATH
|
echo "${{github.workspace}}/mkpsxiso-master/build" >> $GITHUB_PATH
|
||||||
|
- 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user