From fea7d35f51b011ea757f0191d4f58eec1e343207 Mon Sep 17 00:00:00 2001 From: Hubery Hsu Date: Sat, 20 Dec 2025 14:53:43 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90#9=E3=80=91fix=20the=20issue:Failure?= =?UTF-8?q?=20of=20ci=20build=20#9=20#81=20#11?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/c-cpp.yml | 5 ++++- .gitmodules | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index f8a50970..437e03d6 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -12,16 +12,19 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout repository + - name: Checkout repository(with submodules over SSH) uses: actions/checkout@v4 with: submodules: recursive + fetch-depth: 1 + ssh-key: ${{ secrets.ALICE_DEPLOY_KEY }} - name: Ensure submodules are initialized run: | git submodule sync --recursive git submodule update --init --recursive --depth 1 git submodule status + git submodule foreach --recursive 'echo "== $name =="; git remote -v' - name: Configure with CMake (headless) run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DSD_BUILD_DESIGNER=OFF -DSD_BUILD_DEMOS=OFF diff --git a/.gitmodules b/.gitmodules index e1cd4ddf..2b52b7bc 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ [submodule "Alice"] path = Alice - url = https://github.com/hananiahhsu/Alice.git + url = git@github.com:hananiahhsu/Alice.git branch = main [submodule "ToolChain"] url = https://github.com/ToshihideMaskawa/ToolChain.git