Skip to content

Commit

Permalink
Add call to install python3-pip for cmake-format
Browse files Browse the repository at this point in the history
Not installed on Fedora images by default, needs to be explicitly
installed first.

Also fix small formatting issue with prepare-catch.cmake
  • Loading branch information
StableCoder committed Apr 12, 2024
1 parent 8fc5da5 commit 754e716
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ cmake-format Check:
- ${ARCH}
allow_failure: true
script:
- dnf install -y python3-pip
- pip install cmake-format
- cmake-format --version
- cmake-format -i $(find . -name "*.cmake")
Expand Down
4 changes: 2 additions & 2 deletions prepare-catch.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ option(FORCE_CATCH_CLONE
find_file(HAVE_CATCH_HPP catch.hpp PATH_SUFFIXES catch2 catch)
mark_as_advanced(FORCE HAVE_CATCH_HPP)

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

0 comments on commit 754e716

Please sign in to comment.