This repository was archived by the owner on Dec 19, 2025. It is now read-only.
COPILOT :3 #12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Unsigned iOS App with Lime | |
| on: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| build-ios: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Set up Haxe | |
| uses: krdlab/setup-haxe@master | |
| with: | |
| haxe-version: 4.3.6 | |
| - name: Install Dependencies | |
| run: | | |
| haxelib install lime | |
| haxelib run lime setup ios | |
| haxelib install flixel | |
| haxelib install flixel-tools | |
| haxelib install flixel-ui | |
| haxelib install flixel-addons | |
| haxelib install hxcpp | |
| haxelib run lime setup | |
| - name: Run Haxe Setup | |
| run: bash ./ci/setup-haxe.sh | |
| - name: Install iOS dependencies | |
| run: | | |
| brew install ios-deploy | |
| haxelib run lime setup ios | |
| - name: Configure iOS Build | |
| run: | | |
| haxelib run lime config IPHONE_VER 12.0 | |
| haxelib run lime config IOS_SIMULATOR true | |
| - name: Build iOS App | |
| run: | | |
| haxelib run lime build ios -debug -Diphone | |
| haxelib run lime build ios -release -nosign -D officialBuild -D NotDeveloper -Diphone | |
| - run: dir /* | |
| - name: Package .app into unsigned .ipa | |
| run: | | |
| cd export/ios/build/Release-iphoneos | |
| mkdir -p Payload | |
| cp -r HyperCodeEngine.app Payload/ | |
| zip -r HyperCodeEngine.ipa Payload | |
| shell: bash | |
| - name: Upload unsigned .ipa artifact | |
| uses: actions/upload-artifact@v4.6.2 | |
| with: | |
| name: ios-unsigned-ipa | |
| path: export/ios/build/Release-iphoneos/HyperCodeEngine.ipa |