Update .gitlab-ci.yml file

OK, very old version of ccache do not have --show-log-stats, just return code 0
This commit is contained in:
Alam Ed Arias 2024-01-24 02:51:14 +00:00
parent d1de54dc28
commit 083176f1c2

View file

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