Skip to content

Commit a95188a

Browse files
author
Aegis AI Assistant
committed
fix(ci): use debug build to prevent test framework stripping
1 parent 5a79495 commit a95188a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/downstream_integration.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,17 @@ jobs:
3737
swift package edit mlx-swift --path $GITHUB_WORKSPACE/mlx-swift-pr
3838
working-directory: SwiftLM
3939

40-
- name: Build SwiftLM (Release)
41-
run: swift build -c release --build-tests
40+
- name: Build SwiftLM
41+
run: swift build --build-tests
4242
working-directory: SwiftLM
4343

4444
- name: Install MLX Metal library
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/release/
48+
cp /tmp/mlx_venv/lib/python*/site-packages/mlx/lib/mlx.metallib SwiftLM/.build/debug/ || echo "No debug metal lib"
4949
find SwiftLM/.build -type d -name "MLXLMTests" -exec cp /tmp/mlx_venv/lib/python*/site-packages/mlx/lib/mlx.metallib {}/ \;
5050
5151
- name: Run SwiftLM Integration Tests
52-
run: swift test -c release --parallel --skip-build
52+
run: swift test --parallel --skip-build
5353
working-directory: SwiftLM

0 commit comments

Comments
 (0)