diff options
author | Gerald Combs <gerald@wireshark.org> | 2021-06-07 11:40:19 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2021-06-07 11:40:19 -0700 |
commit | 35f5c116cad9c7d207151cd27aca4ddc77450d93 (patch) | |
tree | fd971f80408922cf3aa865c36b34a617da42e59f /.gitlab-ci.yml | |
parent | e80e118f7a331dc69b55573b573eb7bc0512730e (diff) |
GitLab CI: Don't clobber the Code Lines before_script.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9505060750..56377dbfa4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -588,15 +588,15 @@ Code Lines: SCC_OUT: /tmp/scc.txt SLOC_OUT: /tmp/sloccount.txt TOKEI_OUT: /tmp/tokei.txt - before_script: + script: - DEBIAN_FRONTEND=noninteractive apt-get update - DEBIAN_FRONTEND=noninteractive apt-get --yes install sloccount cloc curl unzip - - cd /tmp + - pushd /tmp - curl -L -O https://github.com/boyter/scc/releases/download/v3.0.0/scc-3.0.0-x86_64-unknown-linux.zip - unzip scc-3.0.0-x86_64-unknown-linux.zip - curl -L -O https://github.com/XAMPPRocky/tokei/releases/download/v12.1.2/tokei-x86_64-unknown-linux-gnu.tar.gz - tar -xf tokei-x86_64-unknown-linux-gnu.tar.gz - script: + - popd - DEBIAN_FRONTEND=noninteractive apt-get update - DEBIAN_FRONTEND=noninteractive apt-get --yes install sloccount cloc curl unzip - printf "\e[0Ksection_start:%s:cmake_section[collapsed=true]\r\e[0KRunning CMake" "$( date +%s)" |