Skip to content

Commit 20f4a94

Browse files
author
MarcoFalke
committed
Merge #20682: ci: Install missing lint packages
faeb40b 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 faeb40b, I have reviewed the code and it looks OK, I agree it can be merged. Tree-SHA512: e56198108e26ea0ba2a344b1b74bc294652f34e9866cca053a25fb1b83bbd87ea40254c340e5e169fdfcbd4dcb39fdc2078b5157ca729a22a9a1792ec514a33e
2 parents 3dd3f7c + faeb40b commit 20f4a94

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

.cirrus.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,8 @@ task:
7070
memory: 1G
7171
# For faster CI feedback, immediately schedule the linters
7272
<< : *CREDITS_TEMPLATE
73-
setup_script:
74-
- set -o errexit; source ./ci/test/00_setup_env.sh
75-
install_script:
76-
- set -o errexit; source ./ci/lint/04_install.sh
77-
before_script:
78-
- set -o errexit; source ./ci/lint/05_before_script.sh
7973
lint_script:
80-
- set -o errexit; source ./ci/lint/06_script.sh
74+
- ./ci/lint_run_all.sh
8175

8276
task:
8377
name: 'ARM [unit tests, no functional tests] [buster]'

ci/lint/04_install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77
export LC_ALL=C
88

9-
${CI_RETRY_EXE} apt update && apt install -y clang-format-9 python3-pip curl git
9+
${CI_RETRY_EXE} apt-get update
10+
${CI_RETRY_EXE} apt-get install -y clang-format-9 python3-pip curl git gawk jq
1011
update-alternatives --install /usr/bin/clang-format clang-format $(which clang-format-9 ) 100
1112
update-alternatives --install /usr/bin/clang-format-diff clang-format-diff $(which clang-format-diff-9) 100
1213

ci/lint_run_all.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Copyright (c) 2019 The Bitcoin Core developers
4+
# Distributed under the MIT software license, see the accompanying
5+
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
6+
7+
export LC_ALL=C.UTF-8
8+
9+
set -o errexit; source ./ci/test/00_setup_env.sh
10+
set -o errexit; source ./ci/lint/04_install.sh
11+
set -o errexit; source ./ci/lint/05_before_script.sh
12+
set -o errexit; source ./ci/lint/06_script.sh

0 commit comments

Comments
 (0)