merge-script
e59158b6eb
Merge bitcoin-core/secp256k1#1553 : cmake: Set top-level target output locations
...
c232486d84 Revert "cmake: Set `ENVIRONMENT` property for examples on Windows" (Hennadii Stepanov)
26e4a7c214 cmake: Set top-level target output locations (Hennadii Stepanov)
Pull request description:
While testing https://github.com/bitcoin-core/secp256k1/pull/1551 , I noticed that when cross-compiling a shared library with examples for Windows, the `ctest` fails to run examples with Wine. Adjusting the `PATH` variable in https://github.com/bitcoin-core/secp256k1/blob/4af241b32099067464e015fa66daac5096206dea/examples/CMakeLists.txt#L16-L18 does not help because `WINEPATH` is expected.
Another issue with the current implementation is that the examples cannot run individually on Windows.
This PR resolves both issues by reverting the implementation from https://github.com/bitcoin-core/secp256k1/pull/1290 in favour of the reworked and improved implementation from https://github.com/bitcoin-core/secp256k1/pull/1233 .
ACKs for top commit:
theuni:
Concept ACK and utACK c232486d84 .
real-or-random:
utACK c232486d84
Tree-SHA512: 479b71d15d5d5670f6f69da3da599240c345711003383ca805c821b67065c9baaf269f987792cf1029211cdbfe799aecd401e6940a471539e3929b4a90e0781d
2024-10-15 13:37:21 +02:00
Jonas Nick
f411841a46
Add module "musig" that implements MuSig2 multi-signatures (BIP 327)
2024-10-07 14:03:42 +00:00
Hennadii Stepanov
26e4a7c214
cmake: Set top-level target output locations
...
This change:
1. Collects build artifacts in dedicated locations.
2. Allows to run individual examples with a shared library on Windows.
3. Is compatible with Wine when testing cross-compiled Windows binaries
on Linux.
4. Is compatible with integration the project into a larger project
hierarchy.
2024-09-18 18:13:37 +01:00
Hennadii Stepanov
7057d3c9af
ci: Silent Homebrew's noisy reinstall warnings
2024-08-02 14:03:44 +01:00
Jonas Nick
763d938cf0
ci: only enable extrakeys module when schnorrsig is enabled
2024-07-24 06:57:42 +00:00
Hennadii Stepanov
e2af491263
ci: Switch to the new default value of the precomputed table for signing
2024-07-03 14:04:18 +01:00
Hennadii Stepanov
9420eece24
cmake: Bump CMake minimum required version up to 3.16
2024-07-03 08:23:20 +01:00
merge-script
4af241b320
Merge bitcoin-core/secp256k1#1535 : build: Replace hardcoded "auto" value with default one
...
4d9645bee0 cmake: Remove "AUTO" value of `SECP256K1_ECMULT_GEN_KB` option (Hennadii Stepanov)
a06805ee74 cmake: Remove "AUTO" value of `SECP256K1_ECMULT_WINDOW_SIZE` option (Hennadii Stepanov)
26b94ee92a autotools: Remove "auto" value of `--with-ecmult-gen-kb` option (Hennadii Stepanov)
122dbaeb37 autotools: Remove "auto" value of `--with-ecmult-window` option (Hennadii Stepanov)
Pull request description:
"auto" implies that a value is being chosen based on build system introspection or host system capabilities. However, for the `--with-ecmult-window` and `--with-ecmult-gen-kb` options, the values "auto" are hardcoded, which might lead to confusion.
This PR replaces "auto" with more appropriate default values.
If Concept ACKed, I'll add equivalent commits for CMake.
ACKs for top commit:
sipa:
utACK 4d9645bee0
real-or-random:
utACK 4d9645bee0 good from my side, but let's see if we can get more (Concept) ACKs
Tree-SHA512: 9e68f73682c5310c68d2337594f13b99a52bfc365564e39df2e412b576635c90cccd2298406a4281f014916c4a1710e19c7390f05a4b0acbd09869bfb56f36ac
2024-06-25 15:59:41 +02:00
merge-script
bedffd53d8
Merge bitcoin-core/secp256k1#1488 : ci: Add native macOS arm64 job
...
218f0cc93b ci: Add native macOS arm64 job (Hennadii Stepanov)
Pull request description:
This PR starts using the [new](https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/ ) M1 macOS runner.
The alternative approach might be using a matrix, but it is not trivial to implement.
ACKs for top commit:
real-or-random:
ACK 218f0cc93b
Tree-SHA512: 709e836909fa2a90248f689f4c57192d1daecc53abd3d2d1b8b892a7deb6fdd008bf8f7270ab39da5b0f994d0ea4cf0767dab3a07c6dfc2109a9735af1072f3f
2024-06-10 18:11:12 +02:00
Hennadii Stepanov
26b94ee92a
autotools: Remove "auto" value of --with-ecmult-gen-kb option
...
"auto" implies that a value is being chosen based on build system
introspection or host system capabilities. However, for the
`--with-ecmult-gen-kb` option, the value "auto" is hardcoded, which
might lead to confusion.
This change replaces "auto" with a more appropriate default value.
2024-05-27 10:57:30 +01:00
Hennadii Stepanov
122dbaeb37
autotools: Remove "auto" value of --with-ecmult-window option
...
"auto" implies that a value is being chosen based on build system
introspection or host system capabilities. However, for the
`--with-ecmult-window` option, the value "auto" is hardcoded, which
might lead to confusion.
This change replaces "auto" with a more appropriate default value.
2024-05-27 10:56:37 +01:00
Tim Ruffing
ebfb82ee2f
ci: Add job with -fsanitize-memory-param-retval
2024-05-26 14:01:14 +02:00
Pieter Wuille
ed2a056f3d
Provide 3 configurations accessible through ./configure
2024-04-19 11:43:26 -04:00
Tim Ruffing
a85e2233e7
ci: Note affected clangs in comment on ASLR quirk
...
Resolves #1506 .
2024-04-04 11:49:00 +02:00
Tim Ruffing
84a93de4d2
ci: Add workaround for ASLR bug in sanitizers
...
Fixes #1506 .
2024-03-19 23:52:15 +01:00
Hennadii Stepanov
218f0cc93b
ci: Add native macOS arm64 job
2024-01-31 20:51:50 +00:00
Hennadii Stepanov
94a14d5290
ci: Update cache action
...
This change fixes deprecation warnings for Node.js 16 actions in the GHA
CI.
See:
- https://github.com/marketplace/actions/cache
- https://github.com/actions/cache/releases/tag/v4.0.0
2024-01-25 12:09:47 +00:00
Tim Ruffing
ba9cb6f378
Merge bitcoin-core/secp256k1#1424 : ci: Bump major versions for docker actions
...
d9d80fd155 ci: Bump major versions for docker actions (Hennadii Stepanov)
Pull request description:
See:
- https://github.com/docker/build-push-action/releases/tag/v5.0.0
- https://github.com/docker/setup-buildx-action/releases/tag/v3.0.0
ACKs for top commit:
real-or-random:
ACK d9d80fd155
Tree-SHA512: b1266e46cd02f8e893b4ce3b4bf51f7fb2ea7c6ae54a5c24a4bc5df4f6e97e99afaf90cf598d4321e8b83a250ba5fd7d43c34d53a8cc71f70f6c6e05cc973d6f
2023-09-13 14:49:13 +02:00
Hennadii Stepanov
d9d80fd155
ci: Bump major versions for docker actions
...
https://github.com/docker/build-push-action/releases/tag/v5.0.0
https://github.com/docker/setup-buildx-action/releases/tag/v3.0.0
2023-09-12 10:18:39 +01:00
Hennadii Stepanov
421d84855a
ci: Align Autotools/CMake CI_INSTALL directory names
2023-09-07 20:58:28 +01:00
Hennadii Stepanov
8659a01714
ci: Add release job
...
The new job runs checks outlined in the `doc/release-process.md`.
2023-09-04 15:04:37 +01:00
Hennadii Stepanov
f9b38894ba
ci: Update actions/checkout version
2023-09-04 14:58:01 +01:00
Tim Ruffing
2635068abf
ci/gha: Let MSan continue checking after errors in all jobs
2023-09-03 11:31:35 +02:00
Tim Ruffing
4b8a647ad3
ci/gha: Add ARM64 QEMU jobs for clang and clang-snapshot
2023-09-03 11:31:35 +02:00
Hennadii Stepanov
c223d7e33d
ci: Switch macOS from Ventura to Monterey and add Valgrind
2023-08-28 17:49:45 +01:00
Hennadii Stepanov
cce0456304
ci: Make repetitive command the default one
2023-08-23 21:31:57 +01:00
Hennadii Stepanov
317a4c48f0
ci: Move git config ... to run-in-docker-action
2023-08-23 21:18:53 +01:00
Hennadii Stepanov
676ed8f9cf
ci: Move "C++ (public headers)" from Cirrus to GitHub Actions
2023-08-23 10:59:26 +01:00
Hennadii Stepanov
61fc3a2dc8
ci: Move "C++ -fpermissive..." from Cirrus to GitHub Actions
2023-08-23 10:24:24 +01:00
Hennadii Stepanov
d51fb0a533
ci: Move "MSan" from Cirrus to GitHub Actions
2023-08-23 10:24:15 +01:00
Hennadii Stepanov
c22ac27529
ci: Move sanitizers task from Cirrus to GitHub Actions
2023-08-23 10:24:05 +01:00
Hennadii Stepanov
ee1be62d84
ci: Use concurrency for pull requests only
...
Otherwise, any previously pending workflow will be canceled on the
following push.
2023-08-22 15:02:30 +01:00
Hennadii Stepanov
fc3dea29ea
ci: Move "ppc64le: Linux..." from Cirrus to GitHub Actions
2023-08-21 15:33:27 +01:00
Hennadii Stepanov
7782dc8276
ci: Move "ARM64: Linux..." from Cirrus to GitHub Actions
2023-08-21 15:33:19 +01:00
Hennadii Stepanov
0a16de671c
ci: Move "ARM32: Linux..." from Cirrus to GitHub Actions
2023-08-21 15:33:08 +01:00
Hennadii Stepanov
ea33914e00
ci: Move "s390x (big-endian): Linux..." from Cirrus to GitHub Actions
2023-08-21 15:32:56 +01:00
Hennadii Stepanov
880be8af99
ci: Move "i686: Linux (Debian stable)" from Cirrus to GiHub Actions
2023-08-21 15:32:20 +01:00
Hennadii Stepanov
e10878f58e
ci, gha: Drop driver-opts.network input for setup-buildx-action
2023-08-19 18:02:08 +01:00
Hennadii Stepanov
4ad4914bd1
ci, gha: Add retry_builder Docker image builder
...
This change is aimed at significantly reducing the frequency of failures
caused by intermittent network timeouts.
2023-08-18 17:05:25 +01:00
Hennadii Stepanov
03c9e6508c
ci, gha: Add "x86_64: Linux (Debian stable)" GitHub Actions job
2023-08-18 13:57:50 +01:00
Hennadii Stepanov
87d35f30c0
ci: Rename cirrus.sh to more general ci.sh
...
This makes sense in the process of moving stuff to GitHub Actions.
2023-08-18 10:57:58 +01:00
Hennadii Stepanov
2b6f9cd546
ci, gha: Add Windows jobs based on Linux image
2023-08-18 10:57:45 +01:00
Jonas Nick
48b1d939b5
Merge bitcoin-core/secp256k1#1403 : ci, gha: Ensure only a single workflow processes github.ref at a time
...
b0886fd35c ci, gha: Ensure only a single workflow processes `github.ref` at a time (Hennadii Stepanov)
Pull request description:
ACKs for top commit:
real-or-random:
ACK b0886fd35c
jonasnick:
ACK b0886fd35c
Tree-SHA512: 8edda9259fc07bda3a35286ab97238b2f2749fbc629030da52e5a352988e5562cf62255c7d4917b7f0c8dbc9a0bd3a36b5e725d3d5a4c635ae8239faef829d1b
2023-08-18 09:56:40 +00:00
Jonas Nick
060e32cb60
Merge bitcoin-core/secp256k1#1401 : ci, gha: Run all MSVC tests on Windows natively
...
d78bec7001 ci: Remove Windows MSVC tasks from Cirrus CI (Hennadii Stepanov)
3545dc2b9b ci, gha: Run all MSVC tests on Windows natively (Hennadii Stepanov)
Pull request description:
ACKs for top commit:
real-or-random:
ACK d78bec7001
jonasnick:
ACK d78bec7001
Tree-SHA512: b58162a9f0827dceb1c7eb6fb7c759c0bffcf3e0d24cc7e6628ad71d1faaabaffb9d8de6fcd3d07bfcaca409632a13f711f9ad871a30718139557544cf91b4bf
2023-08-17 16:55:15 +00:00
Tim Ruffing
c2f6435802
ci: Add comment about switching macOS to M1 on GHA later
2023-08-17 16:03:54 +02:00
Hennadii Stepanov
b0886fd35c
ci, gha: Ensure only a single workflow processes github.ref at a time
2023-08-17 14:32:43 +01:00
Hennadii Stepanov
3545dc2b9b
ci, gha: Run all MSVC tests on Windows natively
2023-08-17 10:13:28 +01:00
Hennadii Stepanov
8e54a346d2
ci, gha: Run "x86_64: macOS Ventura" job on GitHub Actions
2023-08-16 16:45:21 +01:00
Hennadii Stepanov
c8d9914fb1
ci, gha: Run "SageMath prover" job on GitHub Actions
2023-08-14 14:28:53 +01:00
Hennadii Stepanov
f1774e5ec4
ci, gha: Make MSVC job presentation more explicit
2023-08-09 15:08:24 +01:00