Skip to content

Commit 754e716

Browse files
committed
Add call to install python3-pip for cmake-format
Not installed on Fedora images by default, needs to be explicitly installed first. Also fix small formatting issue with prepare-catch.cmake
1 parent 8fc5da5 commit 754e716

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: .gitlab-ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ cmake-format Check:
2222
- ${ARCH}
2323
allow_failure: true
2424
script:
25+
- dnf install -y python3-pip
2526
- pip install cmake-format
2627
- cmake-format --version
2728
- cmake-format -i $(find . -name "*.cmake")

Diff for: prepare-catch.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ option(FORCE_CATCH_CLONE
2121
find_file(HAVE_CATCH_HPP catch.hpp PATH_SUFFIXES catch2 catch)
2222
mark_as_advanced(FORCE HAVE_CATCH_HPP)
2323

24-
# **DEPRECATED** Catch now has proper CMake integration, and this will be dropped
25-
# in a future release.
24+
# **DEPRECATED** Catch now has proper CMake integration, and this will be
25+
# dropped in a future release.
2626
#
2727
# Attempts to add the infrastructure necessary for automatically adding C/C++
2828
# tests using the Catch2 library, including either an interface or pre-compiled

0 commit comments

Comments
 (0)