feat: multi-model LLM load balancer (local + frontier + optional Nova… #70
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 & Test | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| branches: [ main, master ] | |
| jobs: | |
| build-and-test: | |
| runs-on: macos-15 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Install Metal Toolchain | |
| # MLX Code bundles mlx-swift, which compiles Metal shaders; recent Xcode no | |
| # longer ships the Metal Toolchain by default, so the build fails without this. | |
| run: xcodebuild -downloadComponent MetalToolchain || true | |
| - name: Build & Test | |
| run: | | |
| set -o pipefail | |
| xcodebuild test \ | |
| -project "MLX Code.xcodeproj" \ | |
| -scheme "MLX Code" \ | |
| -destination 'platform=macOS' \ | |
| CODE_SIGNING_ALLOWED=NO \ | |
| CODE_SIGNING_REQUIRED=NO \ | |
| SWIFT_TREAT_WARNINGS_AS_ERRORS=NO \ | |
| | tail -60 |