@@ -260,6 +260,15 @@ jobs:
260260# -B build_darwin
261261# cmake --build build_darwin --config Release --verbose
262262#
263+ # cmake -S "${{ steps.src.outputs.path }}/cmake/test" \
264+ # -DTEST_SHARED=TRUE \
265+ # -DTEST_STATIC=FALSE \
266+ # -DCMAKE_PREFIX_PATH="${{ steps.mount.outputs.mount-point }}/SDL3_net.xcframework/macos-arm64_x86_64;${{ steps.deps-mount.outputs.path }}/SDL3.xcframework/macos-arm64_x86_64" \
267+ # -DCMAKE_SYSTEM_NAME=Darwin \
268+ # -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" \
269+ # -B build_darwin2
270+ # cmake --build build_darwin2 --config Release --verbose
271+ #
263272# - name: 'CMake (configure + build) iOS'
264273# run: |
265274# cmake -S "${{ steps.src.outputs.path }}/cmake/test" \
@@ -271,6 +280,15 @@ jobs:
271280# -Werror=dev \
272281# -B build_ios
273282# cmake --build build_ios --config Release --verbose
283+ #
284+ # cmake -S "${{ steps.src.outputs.path }}/cmake/test" \
285+ # -DTEST_SHARED=TRUE \
286+ # -DTEST_STATIC=FALSE \
287+ # -DCMAKE_PREFIX_PATH="${{ steps.mount.outputs.mount-point }}/SDL3_net.xcframework/ios-arm64;${{ steps.deps-mount.outputs.path }}/SDL3.xcframework/ios-arm64" \
288+ # -DCMAKE_SYSTEM_NAME=iOS \
289+ # -DCMAKE_OSX_ARCHITECTURES="arm64" \
290+ # -B build_ios2
291+ # cmake --build build_ios2 --config Release --verbose
274292# - name: 'CMake (configure + build) tvOS'
275293# run: |
276294# cmake -S "${{ steps.src.outputs.path }}/cmake/test" \
@@ -282,6 +300,15 @@ jobs:
282300# -Werror=dev \
283301# -B build_tvos
284302# cmake --build build_tvos --config Release --verbose
303+ #
304+ # cmake -S "${{ steps.src.outputs.path }}/cmake/test" \
305+ # -DTEST_SHARED=TRUE \
306+ # -DTEST_STATIC=FALSE \
307+ # -DCMAKE_PREFIX_PATH="${{ steps.mount.outputs.mount-point }}/SDL3_net.xcframework/tvos-arm64;${{ steps.deps-mount.outputs.path }}/SDL3.xcframework/tvos-arm64" \
308+ # -DCMAKE_SYSTEM_NAME=tvOS \
309+ # -DCMAKE_OSX_ARCHITECTURES="arm64" \
310+ # -B build_tvos2
311+ # cmake --build build_tvos2 --config Release --verbose
285312# - name: 'CMake (configure + build) iOS simulator'
286313# run: |
287314# sysroot=$(xcodebuild -version -sdk iphonesimulator Path)
@@ -296,6 +323,16 @@ jobs:
296323# -Werror=dev \
297324# -B build_ios_simulator
298325# cmake --build build_ios_simulator --config Release --verbose
326+ #
327+ # cmake -S "${{ steps.src.outputs.path }}/cmake/test" \
328+ # -DTEST_SHARED=TRUE \
329+ # -DTEST_STATIC=FALSE \
330+ # -DCMAKE_PREFIX_PATH="${{ steps.mount.outputs.mount-point }}/SDL3_net.xcframework/ios-arm64_x86_64-simulator;${{ steps.deps-mount.outputs.path }}/SDL3.xcframework/ios-arm64_x86_64-simulator" \
331+ # -DCMAKE_SYSTEM_NAME=iOS \
332+ # -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" \
333+ # -DCMAKE_OSX_SYSROOT="${sysroot}" \
334+ # -B build_ios_simulator2
335+ # cmake --build build_ios_simulator2 --config Release --verbose
299336# - name: 'CMake (configure + build) tvOS simulator'
300337# run: |
301338# sysroot=$(xcodebuild -version -sdk appletvsimulator Path)
@@ -310,6 +347,16 @@ jobs:
310347# -Werror=dev \
311348# -B build_tvos_simulator
312349# cmake --build build_tvos_simulator --config Release --verbose
350+ #
351+ # cmake -S "${{ steps.src.outputs.path }}/cmake/test" \
352+ # -DTEST_SHARED=TRUE \
353+ # -DTEST_STATIC=FALSE \
354+ # -DCMAKE_PREFIX_PATH="${{ steps.mount.outputs.mount-point }}/SDL3_net.xcframework/tvos-arm64_x86_64-simulator;${{ steps.deps-mount.outputs.path }}/SDL3.xcframework/tvos-arm64_x86_64-simulator" \
355+ # -DCMAKE_SYSTEM_NAME=tvOS \
356+ # -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" \
357+ # -DCMAKE_OSX_SYSROOT="${sysroot}" \
358+ # -B build_tvos_simulator2
359+ # cmake --build build_tvos_simulator2 --config Release --verbose
313360 msvc :
314361 needs : [src]
315362 runs-on : windows-2025
@@ -622,6 +669,7 @@ jobs:
622669 with :
623670 sparse-checkout : ' build-scripts/build-release.py'
624671 - name : ' Setup Android NDK'
672+ id : setup-ndk
625673 uses : nttld/setup-ndk@v1
626674 with :
627675 local-cache : false
@@ -653,6 +701,8 @@ jobs:
653701 run : |
654702 python build-scripts/build-release.py \
655703 --actions download android \
704+ --android-api 21 \
705+ --android-ndk-home "${{ steps.setup-ndk.outputs.ndk-path }}" \
656706 --commit ${{ inputs.commit }} \
657707 --root "${{ steps.tar.outputs.path }}" \
658708 --github \
@@ -718,6 +768,11 @@ jobs:
718768 run : |
719769 sudo apt-get update -y
720770 sudo apt-get install -y ninja-build
771+ - name : ' Verify alignment of libSDL3_net.so (arm64-v8a/x86_64)'
772+ run : |
773+ set -e
774+ ${{ steps.src.outputs.path }}/build-scripts/check_elf_alignment.sh ${{ steps.sdk.outputs.prefix }}/lib/arm64-v8a/libSDL3_net.so
775+ ${{ steps.src.outputs.path }}/build-scripts/check_elf_alignment.sh ${{ steps.sdk.outputs.prefix }}/lib/x86_64/libSDL3_net.so
721776 - name : ' CMake (configure + build) x86, x64, arm32, arm64'
722777 run : |
723778 android_abis="x86 x86_64 armeabi-v7a arm64-v8a"
0 commit comments