Merge bitcoin-core/secp256k1#1368: ci: Drop manual checkout of merge commit

98579e297b19bbb23c924f21942eccdbd618de67 ci: Drop manual checkout of merge commit (Tim Ruffing)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK 98579e297b19bbb23c924f21942eccdbd618de67

Tree-SHA512: fe5305322e6fa616af4664db7c151acdfb8119feb0255a65190b9c185ae5383eab37debe76085dfc8137c691e0ff55cb20d9e51993f6cc871bc6c5c945ed66bf
This commit is contained in:
Jonas Nick 2023-07-02 18:21:18 +00:00
commit 249c81eaa3
No known key found for this signature in database
GPG Key ID: 4861DBF262123605
2 changed files with 2 additions and 21 deletions

View File

@ -54,12 +54,6 @@ cat_logs_snippet: &CAT_LOGS
cat_ci_env_script: cat_ci_env_script:
- env - env
merge_base_script_snippet: &MERGE_BASE
merge_base_script:
- if [ "$CIRRUS_PR" = "" ]; then exit 0; fi
- git fetch --depth=1 $CIRRUS_REPO_CLONE_URL "pull/${CIRRUS_PR}/merge"
- git checkout FETCH_HEAD # Use merged changes to detect silent merge conflicts
linux_container_snippet: &LINUX_CONTAINER linux_container_snippet: &LINUX_CONTAINER
container: container:
dockerfile: ci/linux-debian.Dockerfile dockerfile: ci/linux-debian.Dockerfile
@ -93,7 +87,6 @@ task:
CC: gcc CC: gcc
- env: - env:
CC: clang CC: clang
<< : *MERGE_BASE
test_script: test_script:
- ./ci/cirrus.sh - ./ci/cirrus.sh
<< : *CAT_LOGS << : *CAT_LOGS
@ -111,7 +104,6 @@ task:
CC: i686-linux-gnu-gcc CC: i686-linux-gnu-gcc
- env: - env:
CC: clang --target=i686-pc-linux-gnu -isystem /usr/i686-linux-gnu/include CC: clang --target=i686-pc-linux-gnu -isystem /usr/i686-linux-gnu/include
<< : *MERGE_BASE
test_script: test_script:
- ./ci/cirrus.sh - ./ci/cirrus.sh
<< : *CAT_LOGS << : *CAT_LOGS
@ -138,7 +130,6 @@ task:
CC: clang CC: clang
brew_script: brew_script:
- brew install automake libtool gcc - brew install automake libtool gcc
<< : *MERGE_BASE
test_script: test_script:
- ./ci/cirrus.sh - ./ci/cirrus.sh
<< : *CAT_LOGS << : *CAT_LOGS
@ -157,7 +148,6 @@ task:
SCHNORRSIG: yes SCHNORRSIG: yes
ELLSWIFT: yes ELLSWIFT: yes
CTIMETESTS: no CTIMETESTS: no
<< : *MERGE_BASE
test_script: test_script:
# https://sourceware.org/bugzilla/show_bug.cgi?id=27008 # https://sourceware.org/bugzilla/show_bug.cgi?id=27008
- rm /etc/ld.so.cache - rm /etc/ld.so.cache
@ -180,7 +170,6 @@ task:
matrix: matrix:
- env: {} - env: {}
- env: {EXPERIMENTAL: yes, ASM: arm32} - env: {EXPERIMENTAL: yes, ASM: arm32}
<< : *MERGE_BASE
test_script: test_script:
- ./ci/cirrus.sh - ./ci/cirrus.sh
<< : *CAT_LOGS << : *CAT_LOGS
@ -198,7 +187,6 @@ task:
SCHNORRSIG: yes SCHNORRSIG: yes
ELLSWIFT: yes ELLSWIFT: yes
CTIMETESTS: no CTIMETESTS: no
<< : *MERGE_BASE
test_script: test_script:
- ./ci/cirrus.sh - ./ci/cirrus.sh
<< : *CAT_LOGS << : *CAT_LOGS
@ -216,7 +204,6 @@ task:
SCHNORRSIG: yes SCHNORRSIG: yes
ELLSWIFT: yes ELLSWIFT: yes
CTIMETESTS: no CTIMETESTS: no
<< : *MERGE_BASE
test_script: test_script:
- ./ci/cirrus.sh - ./ci/cirrus.sh
<< : *CAT_LOGS << : *CAT_LOGS
@ -237,7 +224,6 @@ task:
- name: "i686 (mingw32-w64): Windows (Debian stable, Wine)" - name: "i686 (mingw32-w64): Windows (Debian stable, Wine)"
env: env:
HOST: i686-w64-mingw32 HOST: i686-w64-mingw32
<< : *MERGE_BASE
test_script: test_script:
- ./ci/cirrus.sh - ./ci/cirrus.sh
<< : *CAT_LOGS << : *CAT_LOGS
@ -280,7 +266,6 @@ task:
CC: /opt/msvc/bin/x86/cl CC: /opt/msvc/bin/x86/cl
AR: /opt/msvc/bin/x86/lib AR: /opt/msvc/bin/x86/lib
NM: /opt/msvc/bin/x86/dumpbin -symbols -headers NM: /opt/msvc/bin/x86/dumpbin -symbols -headers
<< : *MERGE_BASE
test_script: test_script:
- ./ci/cirrus.sh - ./ci/cirrus.sh
<< : *CAT_LOGS << : *CAT_LOGS
@ -325,7 +310,6 @@ task:
- env: - env:
HOST: i686-linux-gnu HOST: i686-linux-gnu
CC: i686-linux-gnu-gcc CC: i686-linux-gnu-gcc
<< : *MERGE_BASE
test_script: test_script:
- ./ci/cirrus.sh - ./ci/cirrus.sh
<< : *CAT_LOGS << : *CAT_LOGS
@ -352,7 +336,6 @@ task:
ECMULTGENPRECISION: 2 ECMULTGENPRECISION: 2
ECMULTWINDOW: 2 ECMULTWINDOW: 2
CFLAGS: "-fsanitize=memory -g -O3" CFLAGS: "-fsanitize=memory -g -O3"
<< : *MERGE_BASE
test_script: test_script:
- ./ci/cirrus.sh - ./ci/cirrus.sh
<< : *CAT_LOGS << : *CAT_LOGS
@ -369,7 +352,6 @@ task:
RECOVERY: yes RECOVERY: yes
SCHNORRSIG: yes SCHNORRSIG: yes
ELLSWIFT: yes ELLSWIFT: yes
<< : *MERGE_BASE
test_script: test_script:
- ./ci/cirrus.sh - ./ci/cirrus.sh
<< : *CAT_LOGS << : *CAT_LOGS
@ -401,8 +383,6 @@ task:
# Ignore MSBuild warning MSB8029. # Ignore MSBuild warning MSB8029.
# See: https://learn.microsoft.com/en-us/visualstudio/msbuild/errors/msb8029?view=vs-2022 # See: https://learn.microsoft.com/en-us/visualstudio/msbuild/errors/msb8029?view=vs-2022
IgnoreWarnIntDirInTempDetected: 'true' IgnoreWarnIntDirInTempDetected: 'true'
merge_script:
- 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; }
configure_script: configure_script:
- '%x64_NATIVE_TOOLS%' - '%x64_NATIVE_TOOLS%'
- 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 - 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

View File

@ -4,7 +4,8 @@ set -eux
export LC_ALL=C export LC_ALL=C
# Print relevant CI environment to allow reproducing the job outside of CI. # Print commit and relevant CI environment to allow reproducing the job outside of CI.
git show --no-patch
print_environment() { print_environment() {
# Turn off -x because it messes up the output # Turn off -x because it messes up the output
set +x set +x