- grep "cannot be built" buildLogFile.log testBuildLogFile.log | tee -a buildErrors.log || true
- cmake --build . --target install 2>&1 | tee installBuildLogFile.log
- if [ -s buildErrors.log ] ; then echo "Found compiler warning during build"; cat buildErrors.log; exit 1; fi
+ - for file in `find . -mindepth 1 -name "*.o" ! -type l` ; do echo $file ; rm $file ; done 2>&1 > remove-build-objects.log
- cd ..
artifacts:
when: always