@@ -103,6 +103,14 @@ jobs:
103103 summary="CMake build and tests passed."
104104 fi
105105
106+ # set -o xtrace
107+ # docker buildx build -t "$CONTAINER_NAME" $DOCKER_BUILD_CACHE_ARG --file "./ci/lint_imagefile" .
108+ # CIRRUS_PR_FLAG=""
109+ # if [ "${{ github.event_name }}" = "pull_request" ]; then
110+ # CIRRUS_PR_FLAG="-e CIRRUS_PR=1"
111+ # fi
112+ # docker run --rm $CIRRUS_PR_FLAG -v "$(pwd)":/bitcoin "$CONTAINER_NAME"
113+
106114 # --- Report result as a new check run ---
107115 gh api repos/${GITHUB_REPOSITORY}/check-runs \
108116 -X POST \
@@ -121,61 +129,3 @@ jobs:
121129 depends-sources-cache-hit : ${{ steps.restore-cache.depends-sources-cache-hit }}
122130 depends-built-cache-hit : ${{ steps.restore-cache.depends-built-cache-hit }}
123131
124- previous-releases :
125- name : ' Previous releases, depends DEBUG'
126- if : contains(github.event.label.name, 'PeriodicMergeCICheck')
127- needs : runners
128- runs-on : ${{ needs.runners.outputs.use-cirrus-runners == 'true' && 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-md' || 'ubuntu-24.04' }}
129-
130- env :
131- FILE_ENV : ' ./ci/test/00_setup_env_native_previous_releases.sh'
132- DANGER_CI_ON_HOST_FOLDERS : 1
133-
134- steps :
135- - name : Checkout
136- uses : actions/checkout@v4
137-
138- - name : Configure environment
139- uses : ./.github/actions/configure-environment
140-
141- - name : Restore caches
142- id : restore-cache
143- uses : ./.github/actions/restore-caches
144-
145- - name : Configure Docker
146- uses : ./.github/actions/configure-docker
147- with :
148- use-cirrus : ${{ needs.runners.outputs.use-cirrus-runners }}
149-
150- - name : CI script
151- run : ./ci/test_run_all.sh
152-
153-
154- lint :
155- name : ' Lint'
156- if : contains(github.event.label.name, 'PeriodicMergeCICheck')
157- needs : runners
158- runs-on : ${{ needs.runners.outputs.use-cirrus-runners == 'true' && 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-sm' || 'ubuntu-24.04' }}
159- timeout-minutes : 20
160- env :
161- CONTAINER_NAME : " bitcoin-linter"
162- steps :
163- - name : Checkout
164- uses : actions/checkout@v4
165- with :
166- fetch-depth : 0
167-
168- - name : Configure Docker
169- uses : ./.github/actions/configure-docker
170- with :
171- use-cirrus : ${{ needs.runners.outputs.use-cirrus-runners }}
172-
173- - name : CI script
174- run : |
175- set -o xtrace
176- docker buildx build -t "$CONTAINER_NAME" $DOCKER_BUILD_CACHE_ARG --file "./ci/lint_imagefile" .
177- CIRRUS_PR_FLAG=""
178- if [ "${{ github.event_name }}" = "pull_request" ]; then
179- CIRRUS_PR_FLAG="-e CIRRUS_PR=1"
180- fi
181- docker run --rm $CIRRUS_PR_FLAG -v "$(pwd)":/bitcoin "$CONTAINER_NAME"
0 commit comments