]> OCCT Git - occt.git/commitdiff
Testing - Resolving CICD issues (#702)
authorPasukhin Dmitry <dpasukhi@opencascade.com>
Sat, 6 Sep 2025 10:14:31 +0000 (11:14 +0100)
committerGitHub <noreply@github.com>
Sat, 6 Sep 2025 10:14:31 +0000 (11:14 +0100)
- Added missing `<algorithm>` include for C++ standard library functionality
- Suppressed unknown warning options in the macOS build configuration to prevent build failures

.github/actions/configure-occt/action.yml
src/FoundationClasses/TKMath/GTests/math_FunctionRoots_Test.cxx

index 97c63bffe7201c93fd7a44b8b8cbed9e1479b129..62244c78eb4d52f53e04a80c1f5fa2f1fb585021 100644 (file)
@@ -126,7 +126,7 @@ runs:
               -D BUILD_GTEST=ON \
               -D BUILD_CPP_STANDARD=C++17 \
               -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 }} ..
         echo "Configuration completed successfully for macOS"
       shell: bash
index 65f9feb2e0326717f059a3024ef54ca985b59d8a..8077deb564d2c661c910f31d81e66c47777ddb27 100644 (file)
@@ -21,6 +21,7 @@
 #include <StdFail_NotDone.hxx>
 #include <Standard_RangeError.hxx>
 
+#include <algorithm>
 #include <cmath>
 
 namespace