mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-17 21:32:00 +01:00
Merge fa3b4427158d48f7d899582580f8f6a7b1bc981d into 5f4422d68dc3530c353af1f87499de1c864b60ad
This commit is contained in:
commit
ac08cb34c8
10
.cirrus.yml
10
.cirrus.yml
@ -96,21 +96,15 @@ task:
|
|||||||
name: 'lint'
|
name: 'lint'
|
||||||
<< : *BASE_TEMPLATE
|
<< : *BASE_TEMPLATE
|
||||||
container:
|
container:
|
||||||
image: debian:bookworm
|
dockerfile: ci/lint_imagefile
|
||||||
cpu: 1
|
cpu: 1
|
||||||
memory: 1G
|
memory: 1G
|
||||||
# For faster CI feedback, immediately schedule the linters
|
# For faster CI feedback, immediately schedule the linters
|
||||||
<< : *CREDITS_TEMPLATE
|
<< : *CREDITS_TEMPLATE
|
||||||
test_runner_cache:
|
|
||||||
folder: "/lint_test_runner"
|
|
||||||
fingerprint_script: echo $CIRRUS_TASK_NAME $(git rev-parse HEAD:test/lint/test_runner)
|
|
||||||
python_cache:
|
|
||||||
folder: "/python_build"
|
|
||||||
fingerprint_script: cat .python-version /etc/os-release
|
|
||||||
unshallow_script:
|
unshallow_script:
|
||||||
- git fetch --unshallow --no-tags
|
- git fetch --unshallow --no-tags
|
||||||
lint_script:
|
lint_script:
|
||||||
- ./ci/lint_run_all.sh
|
- ./ci/lint_run.sh
|
||||||
|
|
||||||
task:
|
task:
|
||||||
name: 'tidy'
|
name: 'tidy'
|
||||||
|
13
ci/lint_run.sh
Executable file
13
ci/lint_run.sh
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Copyright (c) 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 -o pipefail -o xtrace
|
||||||
|
|
||||||
|
# Only used in .cirrus.yml. Refer to test/lint/README.md on how to run locally.
|
||||||
|
export PATH="/python_build/bin:${PATH}"
|
||||||
|
export LINT_RUNNER_PATH="/lint_test_runner"
|
||||||
|
./ci/lint/06_script.sh
|
@ -6,7 +6,8 @@
|
|||||||
|
|
||||||
export LC_ALL=C.UTF-8
|
export LC_ALL=C.UTF-8
|
||||||
|
|
||||||
# Only used in .cirrus.yml. Refer to test/lint/README.md on how to run locally.
|
# Only used in .cirrus.yml for stale re-runs of old pull request tasks. This
|
||||||
|
# file can be removed in September 2025.
|
||||||
|
|
||||||
cp "./ci/retry/retry" "/ci_retry"
|
cp "./ci/retry/retry" "/ci_retry"
|
||||||
cp "./.python-version" "/.python-version"
|
cp "./.python-version" "/.python-version"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user