Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/build-test-emscripten.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,13 @@ 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 --recursive --depth 1 thirdparty/imgui thirdparty/parallel-hashmap thirdparty/mrbind-pybind11 thirdparty/mrbind
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
- name: Install thirdparty libs
run: |
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/build-test-linux-vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,15 @@ 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 --recursive --depth 1 thirdparty/imgui thirdparty/mrbind-pybind11 thirdparty/mrbind thirdparty/fastmcpp thirdparty/nlohmann-json thirdparty/cpp-httplib
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

- name: Install MRBind
if: ${{ inputs.mrbind || inputs.mrbind_c }}
Expand Down
25 changes: 21 additions & 4 deletions .github/workflows/build-test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,30 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v6
with:
submodules: true

- name: Checkout third-party submodules
run: |
# Download sub-submodules for certain submodules. We don't recurse above in Checkout to improve build performance. See: https://github.com/actions/checkout/issues/1779
git submodule update --init --recursive --depth 1 thirdparty/mrbind
# 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/googletest \
thirdparty/OpenCTM-git \
thirdparty/libE57Format \
thirdparty/glad \
thirdparty/tinygltf \
thirdparty/laz-perf \
thirdparty/clip \
thirdparty/fastmcpp \
thirdparty/nlohmann-json \
thirdparty/cpp-httplib \
thirdparty/mrbind \
thirdparty/mrbind-pybind11
# mrbind needs deps/cppdecl; recurse only there
git -C thirdparty/mrbind submodule update --init --depth 1 deps/cppdecl

- name: Setup Homebrew prefix and resolve compiler paths
id: setup
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/build-test-ubuntu-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,14 @@ jobs:
# related issue: https://github.com/actions/checkout/issues/1779
export HOME=${RUNNER_TEMP}
git config --global --add safe.directory '*'
git submodule update --init --recursive --depth 1 thirdparty/imgui thirdparty/eigen thirdparty/parallel-hashmap thirdparty/mrbind-pybind11 thirdparty/mrbind
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

- name: Install thirdparty libs
run: |
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/build-test-ubuntu-x64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,14 @@ jobs:
# related issue: https://github.com/actions/checkout/issues/1779
export HOME=${RUNNER_TEMP}
git config --global --add safe.directory '*'
git submodule update --init --recursive --depth 1 thirdparty/imgui thirdparty/eigen thirdparty/parallel-hashmap thirdparty/mrbind-pybind11 thirdparty/mrbind
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

- name: Install thirdparty libs
run: |
Expand Down
20 changes: 16 additions & 4 deletions .github/workflows/build-test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,25 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v6
with:
submodules: true

- name: Checkout third-party submodules
run: |
# Download sub-submodules for certain submodules. We don't recurse above in Checkout to improve build performance. See: https://github.com/actions/checkout/issues/1779
git submodule update --init --recursive --depth 1 thirdparty/mrbind
# 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 `
thirdparty/mrbind-pybind11
# mrbind needs deps/cppdecl; recurse only there
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
9 changes: 8 additions & 1 deletion .github/workflows/pip-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,14 @@ jobs:
git config --global --add safe.directory ${GITHUB_WORKSPACE}/thirdparty/parallel-hashmap
git config --global --add safe.directory ${GITHUB_WORKSPACE}/thirdparty/mrbind-pybind11
git config --global --add safe.directory ${GITHUB_WORKSPACE}/thirdparty/mrbind
git submodule update --init --recursive --depth 1 thirdparty/imgui thirdparty/parallel-hashmap thirdparty/mrbind-pybind11 thirdparty/mrbind
git config --global --add safe.directory ${GITHUB_WORKSPACE}/thirdparty/mrbind/deps/cppdecl
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

- 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
9 changes: 8 additions & 1 deletion .github/workflows/update-docs-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,14 @@ jobs:
# related issue: https://github.com/actions/checkout/issues/1779
export HOME=${RUNNER_TEMP}
git config --global --add safe.directory '*'
git submodule update --init --recursive --depth 1 thirdparty/imgui thirdparty/eigen thirdparty/parallel-hashmap thirdparty/mrbind-pybind11 thirdparty/mrbind
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

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