Update .gitlab-ci.yml file

Old version of ccache do not have --verbose, add a fallback for that
This commit is contained in:
Alam Ed Arias 2024-01-24 02:43:35 +00:00
parent 4d0b37223f
commit d1de54dc28

View file

@ -153,8 +153,8 @@ default:
- - |
# ccache_stats
echo -e "\e[0Ksection_start:`date +%s`:ccache_stats[collapsed=true]\r\e[0Kccache statistics:"
- ccache --show-stats --verbose
- ccache --show-log-stats --verbose
- ccache --show-stats --verbose || ccache --show-stats
- ccache --show-log-stats --verbose || ccache --show-log-stats
- |
# ccahe_stats
echo -e "\e[0Ksection_end:`date +%s`:ccache_stats\r\e[0K"
@ -673,8 +673,8 @@ Alpine 3 GCC:
- - |
# ccache_stats
echo -e "\e[0Ksection_start:`date +%s`:ccache_stats[collapsed=true]\r\e[0Kccache statistics:"
- ccache --show-stats --verbose
- ccache --show-log-stats --verbose
- ccache --show-stats --verbose || ccache --show-stats
- ccache --show-log-stats --verbose || ccache --show-log-stats
- |
# ccahe_stats
echo -e "\e[0Ksection_end:`date +%s`:ccache_stats\r\e[0K"