Merge #20682: ci: Install missing lint packages

faeb40bee3bca9477785659d89af53cafa2333b5 ci: Install missing lint packages (MarcoFalke)

Pull request description:

  The cirrus container is vanilla ubuntu, so we need to install the needed packages

ACKs for top commit:
  hebasto:
    ACK faeb40bee3bca9477785659d89af53cafa2333b5, I have reviewed the code and it looks OK, I agree it can be merged.

Tree-SHA512: e56198108e26ea0ba2a344b1b74bc294652f34e9866cca053a25fb1b83bbd87ea40254c340e5e169fdfcbd4dcb39fdc2078b5157ca729a22a9a1792ec514a33e
This commit is contained in:
MarcoFalke 2020-12-18 09:53:22 +01:00 committed by Konstantin Akimov
parent 20219690a8
commit 53ca879837
No known key found for this signature in database
GPG Key ID: 2176C4A5D01EA524
3 changed files with 15 additions and 8 deletions

View File

@ -56,14 +56,8 @@ task:
memory: 1G memory: 1G
# For faster CI feedback, immediately schedule the linters # For faster CI feedback, immediately schedule the linters
<< : *CREDITS_TEMPLATE << : *CREDITS_TEMPLATE
setup_script:
- set -o errexit; source ./ci/test/00_setup_env.sh
install_script:
- set -o errexit; source ./ci/lint/04_install.sh
before_script:
- set -o errexit; source ./ci/lint/05_before_script.sh
lint_script: lint_script:
- set -o errexit; source ./ci/lint/06_script.sh - ./ci/lint_run_all.sh
task: task:
name: 'ARM [unit tests, no functional tests] [buster]' name: 'ARM [unit tests, no functional tests] [buster]'

View File

@ -6,7 +6,8 @@
export LC_ALL=C export LC_ALL=C
${CI_RETRY_EXE} apt update && apt install -y clang-format-9 python3-pip curl git ${CI_RETRY_EXE} apt-get update
${CI_RETRY_EXE} apt-get install -y clang-format-9 python3-pip curl git gawk jq
update-alternatives --install /usr/bin/clang-format clang-format $(which clang-format-9 ) 100 update-alternatives --install /usr/bin/clang-format clang-format $(which clang-format-9 ) 100
update-alternatives --install /usr/bin/clang-format-diff clang-format-diff $(which clang-format-diff-9) 100 update-alternatives --install /usr/bin/clang-format-diff clang-format-diff $(which clang-format-diff-9) 100

12
ci/lint_run_all.sh Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/env bash
#
# Copyright (c) 2019 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
export LC_ALL=C.UTF-8
set -o errexit; source ./ci/test/00_setup_env.sh
set -o errexit; source ./ci/lint/04_install.sh
set -o errexit; source ./ci/lint/05_before_script.sh
set -o errexit; source ./ci/lint/06_script.sh