Files
xash3d-fwgs/scripts/gha/deps_ios.sh
2026-03-24 03:51:54 +05:00

14 lines
432 B
Bash

#!/bin/bash
cd "$GITHUB_WORKSPACE" || exit 1
git clone https://github.com/libsdl-org/SDL -b "release-$SDL_VERSION"
cd SDL/Xcode/SDL || exit 1
xcodebuild -scheme xcFramework-iOS -target xcFramework-iOS build -configuration Release
sudo cp -vr Products/SDL2.xcframework/ios-arm64/SDL2.framework /Library/Frameworks
cd "$GITHUB_WORKSPACE" || exit 1
git clone https://github.com/FWGS/hlsdk-portable hlsdk -b mobile_hacks --depth=1