Commit Graph

73 Commits

Author SHA1 Message Date
iamamyth
f48a73d919 tests: Fix tools::is_hdd unit tests
Correct the unit tests for tools::is_hdd to avoid making assumptions
about the configuration of a particular device based solely on the
value of the __GLIBC__ preprocessor flag. Instead, rely on the
test invoker to provide paths for devices of specific types via
the process environment, thereby avoiding faulty assumptions and
improving the specificity of test assertions. To ensure appropriate
devices exist, add a script, tests/create_test_disks.sh, which
configures loopback devices mirroring relevant configurations.
2025-01-24 23:11:47 -08:00
tobtoht
c0f3a1c1db
Merge pull request #9690
f18b966a9 build: auto-set GitHub runner make job count (iamamyth)
2025-01-25 05:57:58 +00:00
iamamyth
f18b966a96 build: auto-set GitHub runner make job count
Dynamically determine an appropriate number of make jobs for the GitHub
runner container, based upon the number of available CPU cores and RAM,
using the rule that each job requires a dedicated core and 2.25GiB of RAM.
2025-01-16 11:53:46 -08:00
tobtoht
0bbac40e55
ci: add arch linux build 2025-01-14 18:53:10 +01:00
tobtoht
0f13003917
Merge pull request #9679
d1ff49d ci: improve job naming (tobtoht)
2025-01-14 16:20:00 +00:00
Lee *!* Clagett
4344f97255 Fix build with boost ASIO 1.87. Support boost 1.66+ 2025-01-06 18:05:25 -05:00
tobtoht
d1ff49d05f
ci: improve job naming 2025-01-04 15:40:20 +01:00
plowsof
5dcc47dcdf CI: -j4 with lin/win runners
https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
2024-12-23 19:56:30 +00:00
tobtoht
7b3cbb06da
cmake: use pkgconfig to find zeromq 2024-12-23 17:12:22 +01:00
luigi1111
977bd41eb5
Merge pull request #9629
f8b5ea7 ci: don't fail-fast on matrix jobs (tobtoht)
2024-12-23 11:09:48 -05:00
luigi1111
eda163dcf0
Merge pull request #9625
4f12737 ci: brew: pin boost to 1.85 (tobtoht)
2024-12-23 11:08:36 -05:00
luigi1111
53f468ea78
Merge pull request #9623
a7dc3a0 ci: msys2: pin boost to 1.86.0 (tobtoht)
2024-12-23 11:07:39 -05:00
luigi1111
51d0a25c7c
Merge pull request #9481
64bb031 ci: run job for oldest supported Debian version (tobtoht)
2024-12-23 10:37:59 -05:00
tobtoht
a7dc3a046f
ci: msys2: pin boost to 1.86.0 2024-12-20 20:56:58 +01:00
tobtoht
f8b5ea70ee
ci: don't fail-fast on matrix jobs 2024-12-17 23:24:19 +01:00
tobtoht
4f12737288
ci: brew: pin boost to 1.85 2024-12-17 17:27:10 +01:00
tobtoht
64bb031d5f
ci: run job for oldest supported Debian version 2024-09-13 20:04:20 +02:00
tobtoht
9c7e6ab04d
ci: fix windows msys2 build 2024-09-13 15:42:20 +02:00
selsta
98172930db
workflows: don't hardcode repo name 2024-06-03 03:27:35 +02:00
luigi1111
c3ebfb132f
Merge pull request #9179
e499e74 actions: update to v4 actions (tobtoht)
2024-03-07 21:34:13 -05:00
tobtoht
e499e74b8e
actions: update to v4 actions 2024-02-19 00:01:22 +01:00
tobtoht
ba902f9303
actions: remove unnecessary packages 2024-01-19 19:50:03 +01:00
Dusan Klinec
c444a7e002
trezor: support v2.5.2+, add more trezor tests, fix chaingen and tests
- passphrase logic: remove backward compatibility for 2.4.3, code cleanup.
- fix LibUSB cmake for static builds on OSX
- tests: all tests now work with passphrase logic enabled. Passphrase test added with different passphrase. no_passphrase test added, Trezor pin test added. Testing wallet opening with correct and incorrect passphrase. Trezor test chain revamp, cleanup. Smaller chain, chain file versioning added.
- tests: Trezor tests support TEST_MINING_ENABLED, TEST_MINING_TIMEOUT env vars to change mining-related tests behaviour.
- requires protobuf@21 on osx for now (c++14), building with unlinked protobuf: `CMAKE_PREFIX_PATH=$(find /opt/homebrew/Cellar/protobuf@21 -maxdepth 1 -type d -name "21.*" -print -quit) \
make debug-test-trezor -j8`
2023-09-30 09:01:10 +02:00
j-berman
e6b86af931 wallet2: fix rescanning tx via scan_tx
- Detach & re-process txs >= lowest scan height
- ensures that if a user calls scan_tx(tx1) after scanning tx2,
the wallet correctly processes tx1 and tx2
- if a user provides a tx with a height higher than the wallet's
last scanned height, the wallet will scan starting from that tx's
height
- scan_tx requires trusted daemon iff need to re-process existing
txs: in addition to querying a daemon for txids, if a user
provides a txid of a tx with height *lower* than any *already*
scanned txs in the wallet, then the wallet will also query the
daemon for all the *higher* txs as well. This is likely
unexpected behavior to a caller, and so to protect a caller from
revealing txid's to an untrusted daemon in an unexpected way,
require the daemon be trusted.
2023-06-15 02:21:29 -07:00
selsta
eaf590274c
workflows: update dependencies to fix warnings 2023-02-20 04:11:10 +01:00
luigi1111
d3ad02fffb
Merge pull request #8653
61842f9 workflows: set a public DNS when doing tests (selsta)
2023-01-11 11:43:39 -05:00
luigi1111
74d82f9e47
Merge pull request #8603
6f00070 workflows: skip ci when only changing documentation (selsta)
2022-12-01 01:03:24 -06:00
selsta
61842f9d33
workflows: set a public DNS when doing tests 2022-11-28 11:37:33 +01:00
selsta
6f000700f2
workflows: skip ci when only changing documentation 2022-10-01 21:32:58 +02:00
selsta
be8efec6a1
workflows: ubuntu 18.04 is deprecated
And will soon be removed.
2022-09-24 21:02:41 +02:00
luigi1111
af8b0fb815
Merge pull request #8495
796513f repo: remove ldns leftovers (selsta)
2022-08-22 22:51:55 -05:00
selsta
796513ff5f
repo: remove ldns leftovers 2022-08-11 00:21:42 +02:00
j-berman
1fc60cac58 Publish submitted txs via zmq 2022-07-21 11:36:00 -07:00
selsta
649170053f
Makefile: fix spelling of CMAKE_BUILD_TYPE value 2022-04-08 18:22:48 +02:00
luigi1111
f4d99dcca7
Merge pull request #7675
de4413b workflows: don't build PRs if only docs and READMEs are being changed (erciccione)
2022-03-18 16:26:52 -05:00
selsta
1346516d09
workflows: add missing dependency, fix mac build 2021-09-30 22:09:34 +02:00
mj-xmr
e7e28bcd68
CI: ccache common settings variable and apt settings tidying 2021-09-15 20:51:41 +02:00
luigi1111
b13110b7b8
Merge pull request #7855
ce0a2ce CI: use runner.os instead of OS labels (mj-xmr)
2021-09-09 15:16:31 -04:00
luigi1111
2a02cd0a5f
Merge pull request #7773 from selsta/unbound
external: remove unbound submodule
2021-09-09 15:13:06 -04:00
selsta
ae85ec0285
external: remove unbound submodule 2021-09-03 07:47:35 +02:00
mj-xmr
ce0a2ce479
CI: use runner.os instead of OS labels 2021-08-12 15:48:55 +02:00
mj-xmr
1b80347513
CI: Ubuntu-Test reuses Ubuntu-Build cache and building static libs 2021-07-30 17:26:02 +02:00
luigi1111
0073513a05
Merge pull request #7776
c26e3ee workflows: fix libwallet ci test (selsta)
2021-07-27 17:02:54 -04:00
mj-xmr
9a24e464ba
CI: add Ubuntu 18.04 for back. compat. test 2021-07-12 08:06:08 +02:00
selsta
c26e3ee029
workflows: fix libwallet ci test 2021-07-08 05:00:01 +02:00
erciccione
de4413b076
workflows: don't build PRs if only docs and READMEs are being changed 2021-06-21 10:18:09 +02:00
luigi1111
c91bd17f90
Merge pull request #7670
2dfb111 workflows: upload source archive artifact (selsta)
2021-05-12 16:52:50 -05:00
selsta
2dfb111a92
workflows: upload source archive artifact
Co-authored-by: xiphon <xiphon@protonmail.com>
2021-04-19 07:33:27 +02:00
mj-xmr
8953f19489 CI: Actions' build.yaml uses variables instead of repetitions 2021-04-15 20:18:28 +02:00
mj-xmr
353028d8e9 CI: ccache for ubuntu-test; Using "Default" architecture
The cmake logic is in workflows/build.yml
2021-04-06 14:42:53 +02:00