mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-02 17:46:22 +03:00
Testing, GitHub - Marking warnings as errors #73
Windows, Linux builds now starts checking the warning. In warning case the job will be failed. MacOS having too much warnings related with sprintf. Linux Clang having a problem with Flex and Bison. TODO: Fix the warnings for MacOS and Linux Clang.
This commit is contained in:
parent
e5998666ee
commit
495a6a642d
@ -32,7 +32,9 @@ jobs:
|
||||
-D CMAKE_C_COMPILER=gcc \
|
||||
-D CMAKE_CXX_COMPILER=g++ \
|
||||
-D USE_FREETYPE=OFF \
|
||||
-D CMAKE_BUILD_TYPE=Release ..
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_C_FLAGS="-Werror" \
|
||||
-D CMAKE_CXX_FLAGS="-Werror" ..
|
||||
|
||||
- name: Build OCCT
|
||||
run: |
|
||||
|
@ -34,11 +34,11 @@ jobs:
|
||||
|
||||
- name: Configure OCCT
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -T host=x64 -D USE_FREETYPE=OFF -D BUILD_MODULE_Draw=OFF -D CMAKE_BUILD_TYPE=Release ..
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -T host=x64 -D USE_FREETYPE=OFF -D BUILD_MODULE_Draw=OFF -D CMAKE_BUILD_TYPE=Release -D CMAKE_C_FLAGS="/WX" -D CMAKE_CXX_FLAGS="/WX" ..
|
||||
|
||||
- name: Build OCCT
|
||||
run: |
|
||||
cd build
|
||||
cmake --build . --config Release -- /m
|
||||
cd build
|
||||
cmake --build . --config Release -- /m
|
||||
|
Loading…
x
Reference in New Issue
Block a user