From a9f159bae563f592fe93f71392316dce78162b01 Mon Sep 17 00:00:00 2001 From: ksagameng Date: Sun, 2 Nov 2025 23:06:40 +0300 Subject: [PATCH] ci: ios: Implement suggestions and use hlsdk mobile_hacks --- scripts/gha/build_ios.sh | 4 ++-- scripts/gha/deps_ios.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/gha/build_ios.sh b/scripts/gha/build_ios.sh index 7a51fc00..b7f207b1 100755 --- a/scripts/gha/build_ios.sh +++ b/scripts/gha/build_ios.sh @@ -4,7 +4,7 @@ cd $GITHUB_WORKSPACE || die -./waf configure --enable-utils --enable-lto --ios build install --destdir=build/ios || die_configure +./waf configure --enable-lto --ios build install --destdir=build/ios || die_configure cp -vr /Library/Frameworks/SDL2.framework ./build @@ -17,4 +17,4 @@ popd mkdir -p artifacts/ mv "build/xash3d.ipa" "build/xash3d-fwgs-ios-arm64.ipa" -cp "build/xash3d-fwgs-ios-arm64.ipa" artifacts +mv "build/xash3d-fwgs-ios-arm64.ipa" artifacts diff --git a/scripts/gha/deps_ios.sh b/scripts/gha/deps_ios.sh index 9d94c71a..6aa6bb42 100644 --- a/scripts/gha/deps_ios.sh +++ b/scripts/gha/deps_ios.sh @@ -2,7 +2,7 @@ cd $GITHUB_WORKSPACE -git clone https://github.com/libsdl-org/SDL -b SDL2 +git clone https://github.com/libsdl-org/SDL -b release-$SDL_VERSION cd SDL/Xcode/SDL xcodebuild -scheme xcFramework-iOS -target xcFramework-iOS build -configuration Release @@ -10,4 +10,4 @@ sudo cp -vr Products/SDL2.xcframework/ios-arm64/SDL2.framework /Library/Framewor cd $GITHUB_WORKSPACE -git clone https://github.com/FWGS/hlsdk-portable hlsdk --depth=1 +git clone https://github.com/FWGS/hlsdk-portable hlsdk -b mobile_hacks --depth=1