Reduce artifact size
[alexxy/gromacs.git] / admin / gitlab-ci / gromacs.gitlab-ci.yml
index 7b5f85d7f9f262d8cd6576a32c3a99511931873a..28a7392c8ad7ea6e0a3fb7df6fe0f43b35b101d3 100644 (file)
@@ -376,6 +376,7 @@ gromacs:clang-8-cuda-10.1:release:configure:
     - 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