Skip to content

Commit 249c81e

Browse files
committed
Merge bitcoin-core/secp256k1#1368: ci: Drop manual checkout of merge commit
98579e2 ci: Drop manual checkout of merge commit (Tim Ruffing) Pull request description: ACKs for top commit: jonasnick: ACK 98579e2 Tree-SHA512: fe5305322e6fa616af4664db7c151acdfb8119feb0255a65190b9c185ae5383eab37debe76085dfc8137c691e0ff55cb20d9e51993f6cc871bc6c5c945ed66bf
2 parents 0fa84f8 + 98579e2 commit 249c81e

File tree

2 files changed

+2
-21
lines changed

2 files changed

+2
-21
lines changed

.cirrus.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,6 @@ cat_logs_snippet: &CAT_LOGS
5454
cat_ci_env_script:
5555
- env
5656

57-
merge_base_script_snippet: &MERGE_BASE
58-
merge_base_script:
59-
- if [ "$CIRRUS_PR" = "" ]; then exit 0; fi
60-
- git fetch --depth=1 $CIRRUS_REPO_CLONE_URL "pull/${CIRRUS_PR}/merge"
61-
- git checkout FETCH_HEAD # Use merged changes to detect silent merge conflicts
62-
6357
linux_container_snippet: &LINUX_CONTAINER
6458
container:
6559
dockerfile: ci/linux-debian.Dockerfile
@@ -93,7 +87,6 @@ task:
9387
CC: gcc
9488
- env:
9589
CC: clang
96-
<< : *MERGE_BASE
9790
test_script:
9891
- ./ci/cirrus.sh
9992
<< : *CAT_LOGS
@@ -111,7 +104,6 @@ task:
111104
CC: i686-linux-gnu-gcc
112105
- env:
113106
CC: clang --target=i686-pc-linux-gnu -isystem /usr/i686-linux-gnu/include
114-
<< : *MERGE_BASE
115107
test_script:
116108
- ./ci/cirrus.sh
117109
<< : *CAT_LOGS
@@ -138,7 +130,6 @@ task:
138130
CC: clang
139131
brew_script:
140132
- brew install automake libtool gcc
141-
<< : *MERGE_BASE
142133
test_script:
143134
- ./ci/cirrus.sh
144135
<< : *CAT_LOGS
@@ -157,7 +148,6 @@ task:
157148
SCHNORRSIG: yes
158149
ELLSWIFT: yes
159150
CTIMETESTS: no
160-
<< : *MERGE_BASE
161151
test_script:
162152
# https://sourceware.org/bugzilla/show_bug.cgi?id=27008
163153
- rm /etc/ld.so.cache
@@ -180,7 +170,6 @@ task:
180170
matrix:
181171
- env: {}
182172
- env: {EXPERIMENTAL: yes, ASM: arm32}
183-
<< : *MERGE_BASE
184173
test_script:
185174
- ./ci/cirrus.sh
186175
<< : *CAT_LOGS
@@ -198,7 +187,6 @@ task:
198187
SCHNORRSIG: yes
199188
ELLSWIFT: yes
200189
CTIMETESTS: no
201-
<< : *MERGE_BASE
202190
test_script:
203191
- ./ci/cirrus.sh
204192
<< : *CAT_LOGS
@@ -216,7 +204,6 @@ task:
216204
SCHNORRSIG: yes
217205
ELLSWIFT: yes
218206
CTIMETESTS: no
219-
<< : *MERGE_BASE
220207
test_script:
221208
- ./ci/cirrus.sh
222209
<< : *CAT_LOGS
@@ -237,7 +224,6 @@ task:
237224
- name: "i686 (mingw32-w64): Windows (Debian stable, Wine)"
238225
env:
239226
HOST: i686-w64-mingw32
240-
<< : *MERGE_BASE
241227
test_script:
242228
- ./ci/cirrus.sh
243229
<< : *CAT_LOGS
@@ -280,7 +266,6 @@ task:
280266
CC: /opt/msvc/bin/x86/cl
281267
AR: /opt/msvc/bin/x86/lib
282268
NM: /opt/msvc/bin/x86/dumpbin -symbols -headers
283-
<< : *MERGE_BASE
284269
test_script:
285270
- ./ci/cirrus.sh
286271
<< : *CAT_LOGS
@@ -325,7 +310,6 @@ task:
325310
- env:
326311
HOST: i686-linux-gnu
327312
CC: i686-linux-gnu-gcc
328-
<< : *MERGE_BASE
329313
test_script:
330314
- ./ci/cirrus.sh
331315
<< : *CAT_LOGS
@@ -352,7 +336,6 @@ task:
352336
ECMULTGENPRECISION: 2
353337
ECMULTWINDOW: 2
354338
CFLAGS: "-fsanitize=memory -g -O3"
355-
<< : *MERGE_BASE
356339
test_script:
357340
- ./ci/cirrus.sh
358341
<< : *CAT_LOGS
@@ -369,7 +352,6 @@ task:
369352
RECOVERY: yes
370353
SCHNORRSIG: yes
371354
ELLSWIFT: yes
372-
<< : *MERGE_BASE
373355
test_script:
374356
- ./ci/cirrus.sh
375357
<< : *CAT_LOGS
@@ -401,8 +383,6 @@ task:
401383
# Ignore MSBuild warning MSB8029.
402384
# See: https://learn.microsoft.com/en-us/visualstudio/msbuild/errors/msb8029?view=vs-2022
403385
IgnoreWarnIntDirInTempDetected: 'true'
404-
merge_script:
405-
- PowerShell -NoLogo -Command if ($env:CIRRUS_PR -ne $null) { git fetch $env:CIRRUS_REPO_CLONE_URL pull/$env:CIRRUS_PR/merge; git reset --hard FETCH_HEAD; }
406386
configure_script:
407387
- '%x64_NATIVE_TOOLS%'
408388
- cmake -E env CFLAGS="/WX" cmake -G "Visual Studio 17 2022" -A x64 -S . -B build -DSECP256K1_ENABLE_MODULE_RECOVERY=ON -DSECP256K1_BUILD_EXAMPLES=ON

ci/cirrus.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ set -eux
44

55
export LC_ALL=C
66

7-
# Print relevant CI environment to allow reproducing the job outside of CI.
7+
# Print commit and relevant CI environment to allow reproducing the job outside of CI.
8+
git show --no-patch
89
print_environment() {
910
# Turn off -x because it messes up the output
1011
set +x

0 commit comments

Comments
 (0)