Skip to content

Commit df205a1

Browse files
committed
Update CI workflow to install CMake 3 and create a symlink for compatibility with existing scripts.
1 parent 2ac85f1 commit df205a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ jobs:
7474
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends build-essential cmake fakeroot debhelper dpkg-dev; \
7575
else \
7676
dnf -y update --skip-broken && \
77-
dnf -y install cmake make gcc gcc-c++ rpm-build rpmdevtools; \
77+
dnf -y install cmake cmake3 make gcc gcc-c++ rpm-build rpmdevtools; \
78+
(command -v cmake >/dev/null 2>&1 || ln -s $(command -v cmake3) /usr/bin/cmake); \
7879
fi; \
7980
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release; \
8081
cmake --build build -j$(nproc); \

0 commit comments

Comments
 (0)