Skip to content

Commit af8c56c

Browse files
committed
[CI] Add Git Submodule Initialization to CI Workflow
- Included a step to initialize and update git submodules recursively in the CI workflow. - This change ensures that all necessary submodules are available during the format check process, improving build reliability.
1 parent 52a27ea commit af8c56c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
- name: Run format check
4848
run: |
4949
source "${{ runner.tool_cache }}/${{ env.VENV_DIR }}/bin/activate"
50+
git submodule update --init --recursive
5051
mkdir -p build
5152
# run cmake to create the build directory with compile_commands.json
5253
cd build; cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DUSE_CUDA=ON; cd ..

0 commit comments

Comments
 (0)