Set up testing and support iOS 18 #11
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| name: Build and Test | |
| runs-on: macos-15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Select Xcode | |
| run: sudo xcode-select -s /Applications/Xcode_16.4.app | |
| - name: Show build environment | |
| run: | | |
| xcodebuild -version | |
| xcrun swift --version | |
| xcrun simctl list devices available | grep 'iPhone 16 ' | |
| - name: Build | |
| run: | | |
| xcodebuild build \ | |
| -scheme FDWaveformView \ | |
| -destination 'platform=iOS Simulator,name=iPhone 16,OS=18.5' | |
| - name: Test | |
| run: | | |
| xcodebuild test \ | |
| -scheme FDWaveformView \ | |
| -destination 'platform=iOS Simulator,name=iPhone 16,OS=18.5' |