[Improvement] (settings): Remove gl43 extension switch. #188
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 MobileGlues for iOS | |
| on: [push, workflow_dispatch] | |
| jobs: | |
| build-ios: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| with: | |
| submodules: recursive | |
| - name: Build MobileGlues | |
| run: | | |
| cd src/main/cpp | |
| wget https://github.com/leetal/ios-cmake/raw/master/ios.toolchain.cmake | |
| cmake -B build \ | |
| -DCMAKE_TOOLCHAIN_FILE=ios.toolchain.cmake \ | |
| -DSTATICLIB=OFF \ | |
| -DMACOS=ON \ | |
| -DPLATFORM=OS64 \ | |
| -DCMAKE_C_FLAGS=-Wno-error=implicit-function-declaration | |
| cmake --build build --config RelWithDebInfo --target mobileglues | |
| codesign -s - build/libmobileglues.dylib | |
| - name: Upload lib | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: MobileGlues-iOS-dylib | |
| path: /Users/runner/work/MobileGlues/MobileGlues/src/main/cpp/build |