Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.
C++ 3d3d-sculptingcppdear-imguidigital-sculptingfbxgame-developmentgaussian-splattinggltfimage-to-3dmcpopenglopenusdsculptingtext-to-3dunreal-engine
ci.yml: configure cache keyed on the runner image read in a step (ImageOS/ImageVersion are not in the env context); slowest tests also in the log
islandmedde2dcac136ff
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 95df2f52..31323751 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -153,12 +153,16 @@ jobs:# sources, the generated project), right after configure and before any compiling: a hit skips the minute or# more of checks (93 s on Windows). Exact key only: the runner image (compiler), Python and every CMake file, so# a changed CMakeLists.txt or option configures from scratch, as a fresh checkout would.+ - name: Runner image (the compiler version, for the configure cache key)+ id: image+ shell: bash+ run: echo "id=${ImageOS:-$RUNNER_OS}-${ImageVersion:-unknown}" >> "$GITHUB_OUTPUT"- name: Configure cache (restore)id: cmake-cacheuses: actions/cache/restore@v5with:path: build- key: cmake-ci-${{ matrix.key }}~${{ env.ImageOS }}-${{ env.ImageVersion }}-py${{ steps.py.outputs.python-version }}-${{ hashFiles('CMakeLists.txt', 'cmake/**', 'packaging/linux/install-build-deps.sh') }}+ key: cmake-ci-${{ matrix.key }}~${{ steps.image.outputs.id }}-py${{ steps.py.outputs.python-version }}-${{ hashFiles('CMakeLists.txt', 'cmake/**', 'packaging/linux/install-build-deps.sh') }}- name: Configureif: runner.os != 'Windows'run: >@@ -214,7 +218,7 @@ jobs:if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }- name: Slowest tests (job summary; tells which test to split when a shard is the long pole)if: always()- run: python tools/ci/slowest_tests.py build/ctest.xml >> "$GITHUB_STEP_SUMMARY"+ run: python tools/ci/slowest_tests.py build/ctest.xml | tee -a "$GITHUB_STEP_SUMMARY"shell: bash- name: UI test screenshotsif: always() && runner.os != 'macOS'