Skip to content

Commit fea7d35

Browse files
committed
#9】fix the issue:Failure of ci build #9 #81 #11
1 parent ff13d19 commit fea7d35

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/c-cpp.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,19 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- name: Checkout repository
15+
- name: Checkout repository(with submodules over SSH)
1616
uses: actions/checkout@v4
1717
with:
1818
submodules: recursive
19+
fetch-depth: 1
20+
ssh-key: ${{ secrets.ALICE_DEPLOY_KEY }}
1921

2022
- name: Ensure submodules are initialized
2123
run: |
2224
git submodule sync --recursive
2325
git submodule update --init --recursive --depth 1
2426
git submodule status
27+
git submodule foreach --recursive 'echo "== $name =="; git remote -v'
2528
2629
- name: Configure with CMake (headless)
2730
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DSD_BUILD_DESIGNER=OFF -DSD_BUILD_DEMOS=OFF

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[submodule "Alice"]
22
path = Alice
3-
url = https://github.com/hananiahhsu/Alice.git
3+
url = git@github.com:hananiahhsu/Alice.git
44
branch = main
55
[submodule "ToolChain"]
66
url = https://github.com/ToshihideMaskawa/ToolChain.git

0 commit comments

Comments
 (0)