mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-10 09:30:48 +08:00
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:
2
.github/actions/configure-occt/action.yml
vendored
2
.github/actions/configure-occt/action.yml
vendored
@@ -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
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <StdFail_NotDone.hxx>
|
||||
#include <Standard_RangeError.hxx>
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
|
||||
namespace
|
||||
|
||||
Reference in New Issue
Block a user