Use GNU patch in libretro macOS CI instead of BSD patch

This commit is contained in:
刘皓 2025-01-02 20:40:11 -05:00
parent ff6d72f617
commit e581b58305
No known key found for this signature in database
GPG key ID: 7901753DB465B711

View file

@ -468,13 +468,13 @@ jobs:
- name: Install dependencies
run: |
brew install -q git meson cmake
brew install -q git gpatch meson cmake
- name: Build phase 2
run: |
mkdir ${{ runner.temp }}/retro-phase2
cp retro/core.info ${{ runner.temp }}/retro-phase2/libretro-mkxp-z.info
meson setup build -Dretro=true -Dretro_phase1_path=retro/build/retro-phase1
PATH="$HOMEBREW_PREFIX/opt/gpatch/libexec/gnubin:$PATH" meson setup build -Dretro=true -Dretro_phase1_path=retro/build/retro-phase1
cd build
ninja -v
mv libretro-mkxp-z.dylib ${{ runner.temp }}/retro-phase2