Update macos-build.yml
This commit is contained in:
parent
cd0adf3a04
commit
2413adaa68
9
.github/workflows/macos-build.yml
vendored
9
.github/workflows/macos-build.yml
vendored
@ -9,18 +9,11 @@ jobs:
|
||||
runs-on: macOS-latest
|
||||
|
||||
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
|
||||
run: |
|
||||
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}}
|
||||
head -n -7 ${{github.workspace}}/mkpsxiso-master/CMakeLists.txt >> ${{github.workspace}}/mkpsxiso-master/CMakeLists.txt
|
||||
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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user