File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 run : |
4646 python3 -m venv /tmp/mlx_venv
4747 /tmp/mlx_venv/bin/pip install --quiet mlx
48- cp /tmp/mlx_venv/lib/python*/site-packages/mlx/lib/mlx.metallib SwiftLM/.build/debug/ || echo "No debug metal lib"
49- find SwiftLM/.build -type d -name "MLXLMTests" -exec cp /tmp/mlx_venv/lib/python*/site-packages/mlx/lib/mlx.metallib {}/ \;
48+ METALLIB=/tmp/mlx_venv/lib/python*/site-packages/mlx/lib/mlx.metallib
49+ # Copy to all locations the test runner and linked bundles may search
50+ cp $METALLIB SwiftLM/.build/debug/ || true
51+ find SwiftLM/.build -name "*.xctest" -exec cp $METALLIB {}/Contents/MacOS/ \; 2>/dev/null || true
52+ find SwiftLM/.build -type d \( -name "debug" -o -name "release" \) -exec cp $METALLIB {}/ \; 2>/dev/null || true
53+ # Also copy beside test binaries directly
54+ find SwiftLM/.build -name "*Tests" -type f -exec sh -c 'cp '$METALLIB' "$(dirname {})"/' \; 2>/dev/null || true
5055
5156 - name : Run SwiftLM Integration Tests
5257 run : swift test --parallel --skip-build
You can’t perform that action at this time.
0 commit comments