Skip to content
Merged
5 changes: 3 additions & 2 deletions .github/workflows/build-test-emscripten.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,14 @@ jobs:
# related issue: https://github.com/actions/checkout/issues/1779
export HOME=${RUNNER_TEMP}
git config --global --add safe.directory ${GITHUB_WORKSPACE}
git submodule update --init --depth 1 \
# Retried via retry.sh: submodule endpoints occasionally 500.
bash scripts/retry.sh -- git submodule update --init --depth 1 \
thirdparty/imgui \
thirdparty/parallel-hashmap \
thirdparty/mrbind-pybind11 \
thirdparty/mrbind
# mrbind needs deps/cppdecl; recurse only there
git -C thirdparty/mrbind submodule update --init --depth 1 deps/cppdecl
bash scripts/retry.sh -- git -C thirdparty/mrbind submodule update --init --depth 1 deps/cppdecl

- name: Install thirdparty libs
run: |
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/build-test-linux-vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,16 @@ jobs:
# related issue: https://github.com/actions/checkout/issues/1779
export HOME=${RUNNER_TEMP}
git config --global --add safe.directory ${GITHUB_WORKSPACE}
git submodule update --init --depth 1 \
# Retried via retry.sh: submodule endpoints occasionally 500.
bash scripts/retry.sh -- git submodule update --init --depth 1 \
thirdparty/imgui \
thirdparty/mrbind-pybind11 \
thirdparty/mrbind \
thirdparty/fastmcpp \
thirdparty/nlohmann-json \
thirdparty/cpp-httplib
# mrbind needs deps/cppdecl; recurse only there
git -C thirdparty/mrbind submodule update --init --depth 1 deps/cppdecl
bash scripts/retry.sh -- git -C thirdparty/mrbind submodule update --init --depth 1 deps/cppdecl

- name: Install MRBind
if: ${{ inputs.mrbind || inputs.mrbind_c }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/build-test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ jobs:
run: |
# Selective init -- parent Checkout drops submodules:true.
# https://github.com/actions/checkout/issues/1779
git submodule update --init --depth 1 \
# Retried via retry.sh: submodule endpoints occasionally 500.
bash scripts/retry.sh -- git submodule update --init --depth 1 \
thirdparty/imgui \
thirdparty/eigen \
thirdparty/parallel-hashmap \
Expand All @@ -96,7 +97,7 @@ jobs:
thirdparty/mrbind \
thirdparty/mrbind-pybind11
# mrbind needs deps/cppdecl; recurse only there
git -C thirdparty/mrbind submodule update --init --depth 1 deps/cppdecl
bash scripts/retry.sh -- git -C thirdparty/mrbind submodule update --init --depth 1 deps/cppdecl

- name: Setup Homebrew prefix and resolve compiler paths
id: setup
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/build-test-ubuntu-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,15 @@ jobs:
# related issue: https://github.com/actions/checkout/issues/1779
export HOME=${RUNNER_TEMP}
git config --global --add safe.directory '*'
git submodule update --init --depth 1 \
# Retried via retry.sh: submodule endpoints occasionally 500.
bash scripts/retry.sh -- git submodule update --init --depth 1 \
thirdparty/imgui \
thirdparty/eigen \
thirdparty/parallel-hashmap \
thirdparty/mrbind-pybind11 \
thirdparty/mrbind
# mrbind needs deps/cppdecl; recurse only there
git -C thirdparty/mrbind submodule update --init --depth 1 deps/cppdecl
bash scripts/retry.sh -- git -C thirdparty/mrbind submodule update --init --depth 1 deps/cppdecl

- name: Install thirdparty libs
run: |
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/build-test-ubuntu-x64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,15 @@ jobs:
# related issue: https://github.com/actions/checkout/issues/1779
export HOME=${RUNNER_TEMP}
git config --global --add safe.directory '*'
git submodule update --init --depth 1 \
# Retried via retry.sh: submodule endpoints occasionally 500.
bash scripts/retry.sh -- git submodule update --init --depth 1 \
thirdparty/imgui \
thirdparty/eigen \
thirdparty/parallel-hashmap \
thirdparty/mrbind-pybind11 \
thirdparty/mrbind
# mrbind needs deps/cppdecl; recurse only there
git -C thirdparty/mrbind submodule update --init --depth 1 deps/cppdecl
bash scripts/retry.sh -- git -C thirdparty/mrbind submodule update --init --depth 1 deps/cppdecl

- name: Install thirdparty libs
run: |
Expand Down
26 changes: 14 additions & 12 deletions .github/workflows/build-test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,23 +53,25 @@ jobs:
uses: actions/checkout@v6

- name: Checkout third-party submodules
shell: bash
run: |
# Selective init -- parent Checkout drops submodules:true.
# https://github.com/actions/checkout/issues/1779
git submodule update --init --depth 1 `
thirdparty/imgui `
thirdparty/eigen `
thirdparty/parallel-hashmap `
thirdparty/expected `
thirdparty/OpenCTM-git `
thirdparty/laz-perf `
thirdparty/fastmcpp `
thirdparty/nlohmann-json `
thirdparty/cpp-httplib `
thirdparty/mrbind `
# Retried via retry.sh: submodule endpoints occasionally 500.
bash scripts/retry.sh -- git submodule update --init --depth 1 \
thirdparty/imgui \
thirdparty/eigen \
thirdparty/parallel-hashmap \
thirdparty/expected \
thirdparty/OpenCTM-git \
thirdparty/laz-perf \
thirdparty/fastmcpp \
thirdparty/nlohmann-json \
thirdparty/cpp-httplib \
thirdparty/mrbind \
thirdparty/mrbind-pybind11
# mrbind needs deps/cppdecl; recurse only there
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where did this comment go?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch — restored in 80d1f23 right above the cppdecl line.

git -C thirdparty/mrbind submodule update --init --depth 1 deps/cppdecl
bash scripts/retry.sh -- git -C thirdparty/mrbind submodule update --init --depth 1 deps/cppdecl

- name: Get AWS instance type
uses: ./.github/actions/get-aws-instance-type
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/pip-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,14 @@ jobs:
git config --global --add safe.directory ${GITHUB_WORKSPACE}/thirdparty/mrbind-pybind11
git config --global --add safe.directory ${GITHUB_WORKSPACE}/thirdparty/mrbind
git config --global --add safe.directory ${GITHUB_WORKSPACE}/thirdparty/mrbind/deps/cppdecl
git submodule update --init --depth 1 \
# Retried via retry.sh: submodule endpoints occasionally 500.
bash scripts/retry.sh -- git submodule update --init --depth 1 \
thirdparty/imgui \
thirdparty/parallel-hashmap \
thirdparty/mrbind-pybind11 \
thirdparty/mrbind
# mrbind needs deps/cppdecl; recurse only there
git -C thirdparty/mrbind submodule update --init --depth 1 deps/cppdecl
bash scripts/retry.sh -- git -C thirdparty/mrbind submodule update --init --depth 1 deps/cppdecl

- name: Install mrbind
# Also print the amount of RAM. If there's not enough RAM, building MRBind bindings can fail. Not doing it in that step, because OOM fails can erase logs from the current step.
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/update-docs-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,15 @@ jobs:
# related issue: https://github.com/actions/checkout/issues/1779
export HOME=${RUNNER_TEMP}
git config --global --add safe.directory '*'
git submodule update --init --depth 1 \
# Retried via retry.sh: submodule endpoints occasionally 500.
bash scripts/retry.sh -- git submodule update --init --depth 1 \
thirdparty/imgui \
thirdparty/eigen \
thirdparty/parallel-hashmap \
thirdparty/mrbind-pybind11 \
thirdparty/mrbind
# mrbind needs deps/cppdecl; recurse only there
git -C thirdparty/mrbind submodule update --init --depth 1 deps/cppdecl
bash scripts/retry.sh -- git -C thirdparty/mrbind submodule update --init --depth 1 deps/cppdecl

- name: Install thirdparty libs
run: |
Expand Down
Loading