upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorbitflash-maintainer <noreply@bitflash.invalid>2026-09-05 22:46:52 +0000
committerbitflash-maintainer <noreply@bitflash.invalid>2026-09-05 22:46:52 +0000
commitceae3d076b5ad11ee84729ae43f14e9312896646 (patch)
tree7e9132aa871fdc01cb95268d2f5ea3bb11853ddf /.github/workflows/ci.yml
parentbe63e83d79e7e00e6b8ca889a70e6a19886aa1d8 (diff)
parent66e0b9158d050c46b1ff2509faeee3f4573cac1c (diff)
Bring main onto the line this project actually ships
main had drifted to a history with no ancestor in common with the tree we build and deploy. It sat at be63e83 (2026-08-09) with 28 commits; the shipped line, deploy/soak-2026-08-21, had 383. The two shared nothing -- git merge-base returns no result at all -- so anyone cloning this repository landed on a default branch that was neither current nor related to the running node. The 28 commits on main were audited before this merge: every one is already present in the tree by content, including the two that are hardest to see because they were rewritten afterwards -- the payout reorg-safety work (PayoutBlockStillOnChain, since evolved to re-check on every retry rather than once at maturity) and the nostr relay certificate verification (SSL_set1_host, now with a Windows root-store path). Nothing on main is lost by this merge. Recorded as a merge rather than a force-push: main only ever moves forward, its old history stays reachable as the first parent, and this is revertible. The tree is taken wholesale from the merged branch, so main's content is now exactly what was built and tested. What this brings onto main: - compactblock: BIP152-style compact block relay ported from upstream 1.2.23, primitives and unit test only, with the RAND_bytes failure path closed and the reconstruction allocation bounded. - upstream/main 17741d9: isolated testnet parameters and genesis, optional 2 MB large pages for RandomX. Mainnet genesis verified byte-identical through upstream's BuildGenesisBlock() refactor. - deploy: every image built on bookworm so binaries run on Debian 12, and the container build now honours the RandomX and libsecp256k1 pins it had been silently ignoring since before 1.2.15. Gates at this tree: 15/15 selftests, compactblock's 17 checks, consensus constants unchanged against e4f898c apart from the pre-existing MAX_BLOCK_SIZE_GEN, mainnet genesis intact, money-log check ok.
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml72
1 files changed, 72 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..e22b5a4
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,72 @@
1name: CI
2
3on:
4 push:
5 pull_request:
6
7permissions:
8 contents: read
9
10concurrency:
11 group: ci-${{ github.workflow }}-${{ github.ref }}
12 cancel-in-progress: true
13
14jobs:
15 linux-headless:
16 name: Linux headless selftests
17 runs-on: ubuntu-latest
18 steps:
19 - name: Check out repository
20 uses: actions/checkout@v5
21
22 - name: Install Linux dependencies
23 run: make deps-linux
24
25 - name: Run Linux selftests
26 run: make tests
27
28 - name: Run Python tool regressions
29 run: python3 tests/scripts/test_bitflash_tools.py
30
31 - name: Run P2P message fuzz smoke
32 run: make fuzz-net-message-smoke
33
34 - name: Run script fuzz smoke
35 run: make fuzz-script-smoke
36
37 windows-ucrt64:
38 name: Windows UCRT64 selftests
39 runs-on: windows-latest
40 defaults:
41 run:
42 shell: msys2 {0}
43 steps:
44 - name: Check out repository
45 uses: actions/checkout@v5
46
47 - name: Set up MSYS2
48 uses: msys2/setup-msys2@v2
49 with:
50 msystem: UCRT64
51 update: true
52 install: >-
53 git
54 make
55 mingw-w64-ucrt-x86_64-gcc
56 mingw-w64-ucrt-x86_64-glfw
57 mingw-w64-ucrt-x86_64-openssl
58 mingw-w64-ucrt-x86_64-db
59 mingw-w64-ucrt-x86_64-sqlite3
60 mingw-w64-ucrt-x86_64-libsodium
61 mingw-w64-ucrt-x86_64-nlohmann-json
62 mingw-w64-ucrt-x86_64-boost
63 mingw-w64-ucrt-x86_64-cmake
64 autoconf
65 automake
66 libtool
67
68 - name: Build Windows dependencies
69 run: make deps-windows
70
71 - name: Run Windows selftests
72 run: cd src && make -f makefile.mingw tests