File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
.github/actions/downstream-perf-suite Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 4343 - name : ' Install uv and cmake3'
4444 shell : bash
4545 run : |
46- python3 -m pip install --user uv "cmake<4"
46+ python3 -m pip install --user uv
47+ mkdir -p "$HOME/.local/bin" "$HOME/.local"
48+ CMAKE_VERSION=3.31.6
49+ CMAKE_ROOT="$HOME/.local/cmake-${CMAKE_VERSION}-linux-x86_64"
50+ if [ ! -x "$CMAKE_ROOT/bin/cmake" ]; then
51+ curl -fsSL "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-x86_64.tar.gz" \
52+ | tar -xz -C "$HOME/.local"
53+ fi
54+ ln -sf "$CMAKE_ROOT/bin/cmake" "$HOME/.local/bin/cmake"
55+ ln -sf "$CMAKE_ROOT/bin/ctest" "$HOME/.local/bin/ctest"
56+ ln -sf "$CMAKE_ROOT/bin/cpack" "$HOME/.local/bin/cpack"
4757 echo "$HOME/.local/bin" >> "$GITHUB_PATH"
4858
4959 - name : ' Run suite'
You can’t perform that action at this time.
0 commit comments