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