Commit 7e86ad5
committed
ci: build the DGB module in CI (-DCOIN_DGB=ON) + add dgb_share_test target
Two coupled fixes so the Phase-B DGB stack is actually build-verified by CI:
1. Set -DCOIN_DGB=ON in the Linux and ASan configure steps. The dgb
coin module (src/impl/dgb) is gated behind if(COIN_DGB); no option()
defaults it ON, so CI never compiled the module. test_dgb_subsidy
passed only because it lives in the global test/ dir, outside the
gate. Enabling the flag compiles the dgb OBJECT lib + dgb_coin +
pool/share TU for the first time under CI (Linux + ASan/UBSan).
2. Add dgb_share_test to the --target allowlist in both jobs. It is
defined in src/impl/dgb/test (inside the COIN_DGB gate) and links the
dgb OBJECT lib, so it only exists once (1) sets the flag. Mirrors the
#137 NOT_BUILT lesson: a gtest target must be in the build allowlist.1 parent ac795e2 commit 7e86ad5
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| 174 | + | |
174 | 175 | | |
175 | 176 | | |
176 | 177 | | |
| |||
193 | 194 | | |
194 | 195 | | |
195 | 196 | | |
196 | | - | |
| 197 | + | |
197 | 198 | | |
198 | 199 | | |
199 | 200 | | |
| |||
0 commit comments