Skip to content

Commit

Permalink
add separate step for sdl2 install
Browse files Browse the repository at this point in the history
  • Loading branch information
laamaa authored Aug 27, 2024
1 parent 954a88b commit 87fc179
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/build-macos-intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,19 @@ jobs:
- name: 'Build SDL2'
if: steps.cache-x86_64-sdl2-files.outputs.cache-hit != 'true'
run: |
export MACOSX_DEPLOYMENT_TARGET="10.9" && cd SDL2-$SDL_VERSION && mkdir build_x86_64 && cd build_x86_64 && ../configure CPPFLAGS="-mmacosx-version-min=10.7 -DMAC_OS_X_VERSION_MIN_REQUIRED=1070 -isysroot $HOME/x86_64/SDKs/MacOSX10.9.sdk" --prefix="$HOME/x86_64prefix" && make && make install
export MACOSX_DEPLOYMENT_TARGET="10.9"
pushd SDL2-$SDL_VERSION
mkdir build_x86_64
cd build_x86_64
../configure CPPFLAGS="-mmacosx-version-min=10.7 -DMAC_OS_X_VERSION_MIN_REQUIRED=1070 -isysroot $HOME/x86_64/SDKs/MacOSX10.9.sdk" --prefix="$HOME/x86_64prefix"
make
popd
- name: 'Install SDL2'
run: |
pushd SDL2-$SDL_VERSION/build_x86_64
make install
popd
- name: 'Download libserialport sources'
run: |
Expand Down

0 comments on commit 87fc179

Please sign in to comment.