mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-09 11:27:28 -03:00
ci: Install missing lint packages
Also merge script into ci/lint_run_all.sh because env vars weren't exported properly
This commit is contained in:
parent
9b28bd73a3
commit
faeb40bee3
3 changed files with 15 additions and 8 deletions
|
@ -70,14 +70,8 @@ task:
|
|||
memory: 1G
|
||||
# For faster CI feedback, immediately schedule the linters
|
||||
<< : *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:
|
||||
- set -o errexit; source ./ci/lint/06_script.sh
|
||||
- ./ci/lint_run_all.sh
|
||||
|
||||
task:
|
||||
name: 'ARM [unit tests, no functional tests] [buster]'
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
|
||||
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-diff clang-format-diff $(which clang-format-diff-9) 100
|
||||
|
||||
|
|
12
ci/lint_run_all.sh
Executable file
12
ci/lint_run_all.sh
Executable 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
|
Loading…
Reference in a new issue