Testing - Resolving CICD issues (#702)

- Added missing `<algorithm>` include for C++ standard library functionality
- Suppressed unknown warning options in the macOS build configuration to prevent build failures
This commit is contained in:
Pasukhin Dmitry
2025-09-06 11:14:31 +01:00
committed by GitHub
parent 0d30b42cb1
commit 7dbd20076b
2 changed files with 2 additions and 1 deletions

View File

@@ -126,7 +126,7 @@ runs:
-D BUILD_GTEST=ON \ -D BUILD_GTEST=ON \
-D BUILD_CPP_STANDARD=C++17 \ -D BUILD_CPP_STANDARD=C++17 \
-D INSTALL_GTEST=ON \ -D INSTALL_GTEST=ON \
-D CMAKE_CXX_FLAGS="-Werror -Wall -Wextra -Wno-error=cast-function-type-mismatch" \ -D CMAKE_CXX_FLAGS="-Werror -Wall -Wextra -Wno-unknown-warning-option -Wno-error=cast-function-type-mismatch" \
${{ inputs.additional-cmake-flags }} .. ${{ inputs.additional-cmake-flags }} ..
echo "Configuration completed successfully for macOS" echo "Configuration completed successfully for macOS"
shell: bash shell: bash

View File

@@ -21,6 +21,7 @@
#include <StdFail_NotDone.hxx> #include <StdFail_NotDone.hxx>
#include <Standard_RangeError.hxx> #include <Standard_RangeError.hxx>
#include <algorithm>
#include <cmath> #include <cmath>
namespace namespace