Skip to content

Commit 60fba75

Browse files
committed
Update src/secp256k1 to latest BlockstreamResearch/secp256k1-zkp master
1 parent 1339803 commit 60fba75

159 files changed

Lines changed: 19259 additions & 14940 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/secp256k1/.cirrus.yml

Lines changed: 0 additions & 101 deletions
This file was deleted.

src/secp256k1/.github/actions/install-homebrew-valgrind/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ runs:
1616
cat valgrind_fingerprint
1717
shell: bash
1818
19-
- uses: actions/cache@v4
19+
- uses: actions/cache@v5
2020
id: cache
2121
with:
2222
path: ${{ env.CI_HOMEBREW_CELLAR_VALGRIND }}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: "Print logs"
2+
description: "Print the log files produced by ci/ci.sh"
3+
runs:
4+
using: "composite"
5+
steps:
6+
- shell: bash
7+
run: |
8+
# Print the log files produced by ci/ci.sh
9+
10+
# Helper functions
11+
group() {
12+
title=$1
13+
echo "::group::$title"
14+
}
15+
endgroup() {
16+
echo "::endgroup::"
17+
}
18+
cat_file() {
19+
file=$1
20+
group "$file"
21+
cat "$file"
22+
endgroup
23+
}
24+
25+
# Print all *.log files
26+
shopt -s nullglob
27+
for file in *.log; do
28+
cat_file "$file"
29+
done
30+
31+
# Print environment
32+
group "CI env"
33+
env
34+
endgroup

src/secp256k1/.github/actions/run-in-docker-action/action.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,34 @@ inputs:
44
dockerfile:
55
description: 'A Dockerfile that defines an image'
66
required: true
7-
tag:
8-
description: 'A tag of an image'
7+
scope:
8+
description: 'A cached image scope'
99
required: true
1010
command:
1111
description: 'A command to run in a container'
12-
required: false
13-
default: ./ci/ci.sh
12+
required: true
1413
runs:
1514
using: "composite"
1615
steps:
17-
- uses: docker/setup-buildx-action@v3
16+
- uses: docker/setup-buildx-action@v4
1817

19-
- uses: docker/build-push-action@v5
18+
- uses: docker/build-push-action@v7
2019
id: main_builder
2120
continue-on-error: true
2221
with:
2322
context: .
2423
file: ${{ inputs.dockerfile }}
25-
tags: ${{ inputs.tag }}
2624
load: true
27-
cache-from: type=gha
25+
cache-from: type=gha,scope=${{ inputs.scope }}
2826

29-
- uses: docker/build-push-action@v5
27+
- uses: docker/build-push-action@v7
3028
id: retry_builder
3129
if: steps.main_builder.outcome == 'failure'
3230
with:
3331
context: .
3432
file: ${{ inputs.dockerfile }}
35-
tags: ${{ inputs.tag }}
3633
load: true
37-
cache-from: type=gha
34+
cache-from: type=gha,scope=${{ inputs.scope }}
3835

3936
- # Workaround for https://github.com/google/sanitizers/issues/1614 .
4037
# The underlying issue has been fixed in clang 18.1.3.
@@ -47,7 +44,8 @@ runs:
4744
$(echo '${{ toJSON(env) }}' | jq -r 'keys[] | "--env \(.) "') \
4845
--volume ${{ github.workspace }}:${{ github.workspace }} \
4946
--workdir ${{ github.workspace }} \
50-
${{ inputs.tag }} bash -c "
47+
${{ case(steps.main_builder.outcome == 'success', steps.main_builder.outputs.imageid, steps.retry_builder.outputs.imageid) }} \
48+
bash -c "
5149
git config --global --add safe.directory ${{ github.workspace }}
5250
${{ inputs.command }}
5351
"

0 commit comments

Comments
 (0)