5555 - name : Build Docs
5656 run : |
5757 make doc > make_doc_stdout.txt 2> make_doc_stderr.txt
58+ mv build/docs/detaildesign-warnings.log detaildesign-warnings.log
59+
5860 # Upload documentation logs as artifacts
5961 - name : Archive Documentation Build Logs
6062 uses : actions/upload-artifact@v2
@@ -63,13 +65,22 @@ jobs:
6365 path : |
6466 make_doc_stdout.txt
6567 make_doc_stderr.txt
68+ detaildesign-warnings.log
69+
6670 - name : Error Check
6771 run : |
6872 if [[ -s make_doc_stderr.txt ]]; then
6973 cat make_doc_stderr.txt
7074 exit -1
7175 fi
7276
77+ - name : Warning Check
78+ run : |
79+ if [[ -s detaildesign-warnings.log ]]; then
80+ cat detaildesign-warnings.log
81+ exit -1
82+ fi
83+
7384 build :
7485 needs : checks-for-duplicates
7586 if : ${{ needs.checks-for-duplicates.outputs.should_skip != 'true' }}
@@ -134,7 +145,7 @@ jobs:
134145 if : ${{ github.event_name == 'push' && contains(github.ref, 'main')}}
135146 run : |
136147 mkdir deploy
137- cd ./build/docs/osalguide/apiguide/ latex
148+ cd ./build/docs/osalguide/latex
138149 make > build.txt
139150 mv refman.pdf $GITHUB_WORKSPACE/deploy/OSAL_Users_Guide.pdf
140151 # Could add pandoc and convert to github markdown
@@ -143,7 +154,8 @@ jobs:
143154 - name : Build Usersguide
144155 run : |
145156 make usersguide > make_usersguide_stdout.txt 2> make_usersguide_stderr.txt
146-
157+ mv build/docs/users_guide/cfe-usersguide-warnings.log cfe-usersguide-warnings.log
158+
147159 - name : Archive Users Guide Build Logs
148160 uses : actions/upload-artifact@v2
149161 with :
@@ -206,4 +218,4 @@ jobs:
206218 FOLDER : deploy
207219 CLEAN : false
208220 SINGLE_COMMIT : true
209-
221+
0 commit comments