From ff13d190f92cfa20797a5cd43e960d7e647b8c9d Mon Sep 17 00:00:00 2001 From: Hubery Hsu Date: Sat, 20 Dec 2025 14:25:49 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90#9=E3=80=91fix=20the=20issue:Failure?= =?UTF-8?q?=20of=20ci=20build=20#9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/c-cpp.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 4a8d0b72..f8a50970 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -16,7 +16,13 @@ jobs: uses: actions/checkout@v4 with: submodules: recursive - + + - name: Ensure submodules are initialized + run: | + git submodule sync --recursive + git submodule update --init --recursive --depth 1 + git submodule status + - name: Configure with CMake (headless) run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DSD_BUILD_DESIGNER=OFF -DSD_BUILD_DEMOS=OFF