mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 06:52:36 +01:00
ci: Use git2.34 for lint task
This commit is contained in:
parent
eeac05aa22
commit
d8ded8bc08
1 changed files with 7 additions and 0 deletions
|
@ -8,6 +8,13 @@ export LC_ALL=C
|
||||||
|
|
||||||
${CI_RETRY_EXE} apt-get update
|
${CI_RETRY_EXE} apt-get update
|
||||||
${CI_RETRY_EXE} apt-get install -y clang-format-9 python3-pip curl git gawk jq
|
${CI_RETRY_EXE} apt-get install -y clang-format-9 python3-pip curl git gawk jq
|
||||||
|
(
|
||||||
|
# Temporary workaround for https://github.com/bitcoin/bitcoin/pull/26130#issuecomment-1260499544
|
||||||
|
# Can be removed once the underlying image is bumped to something that includes git2.34 or later
|
||||||
|
sed -i -e 's/bionic/jammy/g' /etc/apt/sources.list
|
||||||
|
${CI_RETRY_EXE} apt-get update
|
||||||
|
${CI_RETRY_EXE} apt-get install -y --reinstall git
|
||||||
|
)
|
||||||
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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue