Skip to content

Commit

Permalink
Update CMake-minimal-version.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamir91 authored Sep 19, 2023
1 parent fdded8f commit cc40fa2
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/CMake-minimal-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,7 @@ jobs:
echo "Error - LibRS minimal CMake version require is ${EXPECTED_CMAKE_VERSION} but on this build the minimal is ${output}"
exit 1
else
echo ${CURRENT_CMAKE_VERSION:}
exit 0
fi
- name: "Check current CMake version with expected"
run: |
echo ${CURRENT_CMAKE_VERSION}
if [ "${CURRENT_CMAKE_VERSION}" != "${EXPECTED_CMAKE_VERSION}" ]
then
echo "OK: cmake_version found"
echo "Error - LibRS minimal CMake version require is ${EXPECTED_CMAKE_VERSION} but on this build the minimal is ${CURRENT_CMAKE_VERSION}"
exit 1
else
echo ${CURRENT_CMAKE_VERSION}
echo "The test passes, found CMake version:"
echo ${cmake_version}
exit 0
fi

0 comments on commit cc40fa2

Please sign in to comment.