Increased tap area for marbles in iOS marble mode #181
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: Swift | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Get Tools | |
| run: | | |
| brew update && \ | |
| brew install create-dmg | |
| - name: Build | |
| id: build | |
| run: | | |
| xcodebuild -project "RNGTool.xcodeproj/" -destination "generic/platform=macOS" -configuration Debug build CODE_SIGNING_ALLOWED=NO | |
| - name: Download and Prepare Files for Publishing | |
| run: | | |
| curl https://cdn.ncxprogramming.com/file/software/mac/RNGToolDMGKit.zip --output ~/RNGToolDMGKit.zip | |
| unzip ~/RNGToolDMGKit.zip -d ~/RNGToolDMGKit/ | |
| mkdir ~/RNGToolDMGKit/source_folder | |
| mv build/Debug/RNGTool.app ~/RNGToolDMGKit/source_folder | |
| - name: Build DMG From Kit | |
| run: | | |
| cd ~/RNGToolDMGKit | |
| chmod +x create-dmg.sh | |
| ./create-dmg.sh | |
| - name: Publish Build Files | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| path: ~/RNGToolDMGKit/RNGTool-Installer.dmg | |
| name: RNGTool-Installer-latest.dmg | |
| build-ios: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build for iOS | |
| id: build-ios | |
| run: | | |
| xcodebuild -project "RNGTool.xcodeproj/" -target "RNGTool Mobile" -destination "generic/platform=iOS" -configuration Debug build CODE_SIGNING_ALLOWED=NO | |
| - name: Prepare Files and Create IPA File | |
| run: | | |
| mkdir ~/RNGToolMobile | |
| mkdir ~/RNGToolMobile/Payload | |
| mv build/Debug-iphoneos/RNGTool.app ~/RNGToolMobile/Payload | |
| cd ~ | |
| curl https://cdn.ncxprogramming.com/file/icon/rngtoolraw.png --output ~/RNGToolMobile/iTunesArtwork | |
| cd RNGToolMobile/ | |
| zip -r RNGTool.zip * | |
| mv RNGTool.zip ~/RNGTool.ipa | |
| - name: Publish Build Files | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| path: ~/RNGTool.ipa | |
| name: RNGTool.ipa |