Update macos-build.yml

This commit is contained in:
Schnappy 2021-11-02 13:41:08 +01:00 committed by GitHub
parent 58701c2d3f
commit 89470152f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,12 +9,19 @@ 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
run : |
brew update --verbose
brew install tinyxml2
- 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}}
mkdir ${{github.workspace}}/mkpsxiso-master/build mkdir ${{github.workspace}}/mkpsxiso-master/build
ls -l ${{github.workspace}}/mkpsxiso-master 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