Update .gitlab-ci.yml file

section off ccache output
This commit is contained in:
Alam Ed Arias 2023-10-14 19:51:11 +00:00
parent dee306c58b
commit c74711fefa

View file

@ -72,16 +72,20 @@ default:
- echo max_size = 50M | tee --append ~/.ccache/ccache.conf - echo max_size = 50M | tee --append ~/.ccache/ccache.conf
- echo -e "\e[0Ksection_end:`date +%s`:ccache_config\r\e[0K" - echo -e "\e[0Ksection_end:`date +%s`:ccache_config\r\e[0K"
- ccache --zero-stats || true - - echo -e "\e[0Ksection_start:`date +%s`:apt_reset[collapsed=true]\r\e[0KResetting ccache statistics"
- ccache --show-stats || true - ccache --zero-stats || true
- ccache --show-stats || true
- echo -e "\e[0Ksection_end:`date +%s`:ccache_reset\r\e[0K"
after_script: after_script:
- - echo -e "\e[0Ksection_start:`date +%s`:apt_clean[collapsed=true]\r\e[0KCleaning of unneeded APT packages" - - echo -e "\e[0Ksection_start:`date +%s`:apt_clean[collapsed=true]\r\e[0KCleaning of unneeded APT packages"
- *aptcache - *aptcache
- apt-get autoclean - apt-get autoclean
- echo -e "\e[0Ksection_end:`date +%s`:apt_clean\r\e[0K" - echo -e "\e[0Ksection_end:`date +%s`:apt_clean\r\e[0K"
- ccache --show-stats - - echo -e "\e[0Ksection_start:`date +%s`:ccache_stats[collapsed=false]\r\e[0Kccache statistics:"
- ccache --show-log-stats || true - ccache --show-stats --verbose
- ccache --show-log-stats --verbose || true
- echo -e "\e[0Ksection_end:`date +%s`:ccache_stats\r\e[0K"
build-testing: build-testing:
<<: *job_build <<: *job_build
@ -92,12 +96,12 @@ build-testing:
- "bin/lsdl2srb2*" - "bin/lsdl2srb2*"
name: "$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-testing" name: "$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-testing"
script: script:
- - echo -e "\e[0Ksection_start:`date +%s`:apt_toolchain[collapsed=true]\r\e[0Kinstalling toolchain packages" - - echo -e "\e[0Ksection_start:`date +%s`:apt_toolchain[collapsed=true]\r\e[0KInstalling toolchain packages"
- *aptcache - *aptcache
- apt-get install gcc - apt-get install gcc
- echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\r\e[0K" - echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\r\e[0K"
- - echo -e "\e[0Ksection_start:`date +%s`:apt_development[collapsed=true]\r\e[0Kinstalling development packages" - - echo -e "\e[0Ksection_start:`date +%s`:apt_development[collapsed=true]\r\e[0KInstalling development packages"
- apt-get install libsdl2-mixer-dev libpng-dev libcurl4-openssl-dev libgme-dev libopenmpt-dev - apt-get install libsdl2-mixer-dev libpng-dev libcurl4-openssl-dev libgme-dev libopenmpt-dev
- echo -e "\e[0Ksection_end:`date +%s`:apt_development\r\e[0K" - echo -e "\e[0Ksection_end:`date +%s`:apt_development\r\e[0K"
@ -112,7 +116,7 @@ build-i686-w64-mingw32:
- "bin/srb2win.exe*" - "bin/srb2win.exe*"
name: "$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-Win32" name: "$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-Win32"
script: script:
- - echo -e "\e[0Ksection_start:`date +%s`:apt_toolchain[collapsed=true]\r\e[0Kinstalling toolchain packages" - - echo -e "\e[0Ksection_start:`date +%s`:apt_toolchain[collapsed=true]\r\e[0KInstalling toolchain packages"
- *aptcache - *aptcache
- apt-get install gcc-mingw-w64-i686-win32 - apt-get install gcc-mingw-w64-i686-win32
- echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\r\e[0K" - echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\r\e[0K"
@ -128,12 +132,12 @@ build-x86_64-linux-gnu:
- "bin/lsdl2srb2*" - "bin/lsdl2srb2*"
name: "$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-x86-64" name: "$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-x86-64"
script: script:
- - echo -e "\e[0Ksection_start:`date +%s`:apt_toolchain[collapsed=true]\r\e[0Kinstalling toolchain packages" - - echo -e "\e[0Ksection_start:`date +%s`:apt_toolchain[collapsed=true]\r\e[0KInstalling toolchain packages"
- *aptcache - *aptcache
- apt-get install gcc-x86-64-linux-gnu || apt-get install gcc - apt-get install gcc-x86-64-linux-gnu || apt-get install gcc
- echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\r\e[0K" - echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\r\e[0K"
- - echo -e "\e[0Ksection_start:`date +%s`:apt_development[collapsed=true]\r\e[0Kinstalling development packages" - - echo -e "\e[0Ksection_start:`date +%s`:apt_development[collapsed=true]\r\e[0KInstalling development packages"
- apt-get install libsdl2-mixer-dev:amd64 libpng-dev:amd64 libcurl4-openssl-dev:amd64 libgme-dev:amd64 libopenmpt-dev:amd64 - apt-get install libsdl2-mixer-dev:amd64 libpng-dev:amd64 libcurl4-openssl-dev:amd64 libgme-dev:amd64 libopenmpt-dev:amd64
- echo -e "\e[0Ksection_end:`date +%s`:apt_development\r\e[0K" - echo -e "\e[0Ksection_end:`date +%s`:apt_development\r\e[0K"
@ -153,12 +157,12 @@ build-i686-linux-gnu:
- "bin/lsdl2srb2*" - "bin/lsdl2srb2*"
name: "$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-i686" name: "$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-i686"
script: script:
- - echo -e "\e[0Ksection_start:`date +%s`:apt_toolchain[collapsed=true]\r\e[0Kinstalling toolchain packages" - - echo -e "\e[0Ksection_start:`date +%s`:apt_toolchain[collapsed=true]\r\e[0KInstalling toolchain packages"
- *aptcache - *aptcache
- apt-get install gcc-i686-linux-gnu || apt-get install gcc - apt-get install gcc-i686-linux-gnu || apt-get install gcc
- echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\r\e[0K" - echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\r\e[0K"
- - echo -e "\e[0Ksection_start:`date +%s`:apt_development[collapsed=true]\r\e[0Kinstalling development packages" - - echo -e "\e[0Ksection_start:`date +%s`:apt_development[collapsed=true]\r\e[0KInstalling development packages"
- apt-get install libsdl2-mixer-dev:i386 libpng-dev:i386 libcurl4-openssl-dev:i386 libgme-dev:i386 libopenmpt-dev:i386 - apt-get install libsdl2-mixer-dev:i386 libpng-dev:i386 libcurl4-openssl-dev:i386 libgme-dev:i386 libopenmpt-dev:i386
- echo -e "\e[0Ksection_end:`date +%s`:apt_development\r\e[0K" - echo -e "\e[0Ksection_end:`date +%s`:apt_development\r\e[0K"
@ -178,12 +182,12 @@ build-aarch64-linux-gnu:
- "bin/lsdl2srb2*" - "bin/lsdl2srb2*"
name: "$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-aarch64" name: "$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-aarch64"
script: script:
- - echo -e "\e[0Ksection_start:`date +%s`:apt_toolchain[collapsed=true]\r\e[0Kinstalling toolchain packages" - - echo -e "\e[0Ksection_start:`date +%s`:apt_toolchain[collapsed=true]\r\e[0KInstalling toolchain packages"
- *aptcache - *aptcache
- apt-get install gcc-aarch64-linux-gnu || apt-get install gcc - apt-get install gcc-aarch64-linux-gnu || apt-get install gcc
- echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\r\e[0K" - echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\r\e[0K"
- - echo -e "\e[0Ksection_start:`date +%s`:apt_development[collapsed=true]\r\e[0Kinstalling development packages" - - echo -e "\e[0Ksection_start:`date +%s`:apt_development[collapsed=true]\r\e[0KInstalling development packages"
- apt-get install libsdl2-mixer-dev:arm64 libpng-dev:arm64 libcurl4-openssl-dev:arm64 libgme-dev:arm64 libopenmpt-dev:arm64 - apt-get install libsdl2-mixer-dev:arm64 libpng-dev:arm64 libcurl4-openssl-dev:arm64 libgme-dev:arm64 libopenmpt-dev:arm64
- echo -e "\e[0Ksection_end:`date +%s`:apt_development\r\e[0K" - echo -e "\e[0Ksection_end:`date +%s`:apt_development\r\e[0K"
@ -203,7 +207,7 @@ build-x86_64-w64-mingw32:
- "bin/srb2win64.exe*" - "bin/srb2win64.exe*"
name: "$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-Win64" name: "$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-Win64"
script: script:
- - echo -e "\e[0Ksection_start:`date +%s`:apt_toolchain[collapsed=true]\r\e[0Kinstalling toolchain packages" - - echo -e "\e[0Ksection_start:`date +%s`:apt_toolchain[collapsed=true]\r\e[0KInstalling toolchain packages"
- *aptcache - *aptcache
- apt-get install gcc-mingw-w64-x86-64-win32 - apt-get install gcc-mingw-w64-x86-64-win32
- echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\r\e[0K" - echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\r\e[0K"