Skip to content

Commit 5dbab8d

Browse files
committed
fix(ci): add mlx-swift-lm git submodule and checkout submodules in CI
- Create .gitmodules pointing to SharpAI/mlx-swift-lm.git - Add submodules: recursive to both build.yml and e2e-test.yml checkout steps - Remove mlx-swift-lm from .gitignore so git tracks the submodule pointer
1 parent 1d24dae commit 5dbab8d

5 files changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
runs-on: macos-15
1212
steps:
1313
- uses: actions/checkout@v4
14+
with:
15+
submodules: recursive
1416

1517
- name: Install Metal Toolchain
1618
run: xcodebuild -downloadComponent MetalToolchain || true

.github/workflows/e2e-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v4
20+
with:
21+
submodules: recursive
2022

2123
- name: Cache Swift packages
2224
uses: actions/cache@v4

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ DerivedData/
1313
# IDE
1414
.vscode/
1515
.idea/
16-
mlx-swift-lm
1716

1817
# Temporary Artifacts & Logs
1918
*.log

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[submodule "mlx-swift-lm"]
2+
path = mlx-swift-lm
3+
url = https://github.com/SharpAI/mlx-swift-lm.git
4+
branch = main

mlx-swift-lm

Submodule mlx-swift-lm added at ae4a74e

0 commit comments

Comments
 (0)