Remove .o files before install

These files are not required to perform install but take disk space.
LTO-timing^2
elsid 2 years ago
parent 2ef2e93a46
commit 6c9940c2a5
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625

@ -38,6 +38,11 @@ variables:
- CI/before_script.linux.sh
- cd build
- cmake --build . -- -j $(nproc)
- df -h
- du -sh .
- find . | grep '\.o$' | xargs rm -f
- df -h
- du -sh .
- cmake --install .
- if [[ "${BUILD_TESTS_ONLY}" ]]; then ./openmw_test_suite --gtest_output="xml:tests.xml"; fi
- if [[ "${BUILD_TESTS_ONLY}" && ! "${BUILD_WITH_CODE_COVERAGE}" ]]; then ./openmw_detournavigator_navmeshtilescache_benchmark; fi

Loading…
Cancel
Save