Add UI startup option to Server #229
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
| # This workflow will build a Swift project | |
| # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift | |
| name: Run Swift Tests | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Select Xcode version | |
| uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: 'latest' | |
| - name: Install Metal toolchain | |
| run: xcodebuild -downloadComponent MetalToolchain | |
| - name: Clean build folder | |
| run: cd mlx_audio_swift/tts && xcodebuild clean -scheme MLXAudio | |
| - name: Build and Run tests | |
| run: cd mlx_audio_swift/tts && xcodebuild test -scheme MLXAudio -destination 'platform=macOS' MACOSX_DEPLOYMENT_TARGET=14.0 CODE_SIGNING_ALLOWED=NO | |
| - name: Build Swift Package | |
| run: swift build |