ci: ios: Implement suggestions and use hlsdk mobile_hacks

This commit is contained in:
ksagameng
2025-11-02 23:06:40 +03:00
committed by a1batross
parent a6108b7930
commit a9f159bae5
2 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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