mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
ci: ios: Implement suggestions and use hlsdk mobile_hacks
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user