Skip to content

Commit 2d412ac

Browse files
authored
Turn on warnings on Windows without exit code (#69)
1 parent 3995dce commit 2d412ac

File tree

6 files changed

+27
-27
lines changed

6 files changed

+27
-27
lines changed

.github/workflows/OCV-Contrib-PR-3.4-W10.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ jobs:
120120
cd ${{ github.workspace }}\build
121121
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
122122
ninja -j %PARALLEL_JOBS% | tee ${{ github.workspace }}\build\build-log.txt
123-
# - name: Warnings check
124-
# timeout-minutes: 60
125-
# run: cd ${{ github.workspace }}\build && python %GIT_CACHE%\warnings-handling.py
123+
- name: Warnings check
124+
timeout-minutes: 60
125+
run: cd ${{ github.workspace }}\build && python %CI_SCRIPTS%\warnings-handling.py
126126
- name: Accuracy:aruco
127127
timeout-minutes: 60
128128
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}

.github/workflows/OCV-Contrib-PR-4.x-W10.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ jobs:
120120
cd ${{ github.workspace }}\build
121121
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
122122
ninja -j %PARALLEL_JOBS% | tee ${{ github.workspace }}\build\build-log.txt
123-
# - name: Warnings check
124-
# timeout-minutes: 60
125-
# run: cd ${{ github.workspace }}\build && python %GIT_CACHE%\warnings-handling.py
123+
- name: Warnings check
124+
timeout-minutes: 60
125+
run: cd ${{ github.workspace }}\build && python %CI_SCRIPTS%\warnings-handling.py
126126
- name: Accuracy:aruco
127127
timeout-minutes: 60
128128
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}

.github/workflows/OCV-Contrib-PR-5.x-W10.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ jobs:
120120
cd ${{ github.workspace }}\build
121121
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
122122
ninja -j %PARALLEL_JOBS% | tee ${{ github.workspace }}\build\build-log.txt
123-
# - name: Warnings check
124-
# timeout-minutes: 60
125-
# run: cd ${{ github.workspace }}\build && python %GIT_CACHE%\warnings-handling.py
123+
- name: Warnings check
124+
timeout-minutes: 60
125+
run: cd ${{ github.workspace }}\build && python %CI_SCRIPTS%\warnings-handling.py
126126
- name: Accuracy:3d
127127
timeout-minutes: 60
128128
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}

.github/workflows/OCV-PR-3.4-W10.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ jobs:
104104
cd ${{ github.workspace }}\build
105105
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
106106
ninja -j %PARALLEL_JOBS% | tee ${{ github.workspace }}\build\build-log.txt
107-
# - name: Warnings check
108-
# timeout-minutes: 60
109-
# run: cd ${{ github.workspace }}\build && python %GIT_CACHE%\warnings-handling.py
107+
- name: Warnings check
108+
timeout-minutes: 60
109+
run: cd ${{ github.workspace }}\build && python %CI_SCRIPTS%\warnings-handling.py
110110
- name: Accuracy:calib3d
111111
timeout-minutes: 60
112112
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
@@ -310,6 +310,6 @@ jobs:
310310
cd ${{ github.workspace }}\build
311311
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
312312
ninja -j %PARALLEL_JOBS% | tee ${{ github.workspace }}\build\build-log.txt
313-
# - name: Warnings check
314-
# timeout-minutes: 60
315-
# run: cd ${{ github.workspace }}\build && python %GIT_CACHE%\warnings-handling.py
313+
- name: Warnings check
314+
timeout-minutes: 60
315+
run: cd ${{ github.workspace }}\build && python %CI_SCRIPTS%\warnings-handling.py

.github/workflows/OCV-PR-4.x-W10.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ jobs:
104104
cd ${{ github.workspace }}\build
105105
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
106106
ninja -j %PARALLEL_JOBS% | tee ${{ github.workspace }}\build\build-log.txt
107-
# - name: Warnings check
108-
# timeout-minutes: 60
109-
# run: cd ${{ github.workspace }}\build && python %GIT_CACHE%\warnings-handling.py
107+
- name: Warnings check
108+
timeout-minutes: 60
109+
run: cd ${{ github.workspace }}\build && python %CI_SCRIPTS%\warnings-handling.py
110110
- name: Accuracy:calib3d
111111
timeout-minutes: 60
112112
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
@@ -302,6 +302,6 @@ jobs:
302302
cd ${{ github.workspace }}\build
303303
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
304304
ninja -j %PARALLEL_JOBS% | tee ${{ github.workspace }}\build\build-log.txt
305-
# - name: Warnings check
306-
# timeout-minutes: 60
307-
# run: cd ${{ github.workspace }}\build && python %GIT_CACHE%\warnings-handling.py
305+
- name: Warnings check
306+
timeout-minutes: 60
307+
run: cd ${{ github.workspace }}\build && python %CI_SCRIPTS%\warnings-handling.py

.github/workflows/OCV-PR-5.x-W10.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ jobs:
104104
cd ${{ github.workspace }}\build
105105
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
106106
ninja -j %PARALLEL_JOBS% | tee ${{ github.workspace }}\build\build-log.txt
107-
# - name: Warnings check
108-
# timeout-minutes: 60
109-
# run: cd ${{ github.workspace }}\build && python %GIT_CACHE%\warnings-handling.py
107+
- name: Warnings check
108+
timeout-minutes: 60
109+
run: cd ${{ github.workspace }}\build && python %CI_SCRIPTS%\warnings-handling.py
110110
- name: Accuracy:3d
111111
timeout-minutes: 60
112112
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
@@ -318,6 +318,6 @@ jobs:
318318
cd ${{ github.workspace }}\build
319319
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
320320
ninja -j %PARALLEL_JOBS% | tee ${{ github.workspace }}\build\build-log.txt
321-
# - name: Warnings check
322-
# timeout-minutes: 60
323-
# run: cd ${{ github.workspace }}\build && python %GIT_CACHE%\warnings-handling.py
321+
- name: Warnings check
322+
timeout-minutes: 60
323+
run: cd ${{ github.workspace }}\build && python %CI_SCRIPTS%\warnings-handling.py

0 commit comments

Comments
 (0)