Skip to content

fix(ci): make the full test scheme honestly green #67

fix(ci): make the full test scheme honestly green

fix(ci): make the full test scheme honestly green #67

Workflow file for this run

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