Skip to content

Commit 29c6653

Browse files
ci: build only libunbound on linux
monero only needs the library, but the step built the daemon and the tools too, serially. Build and install just the library, which takes about a tenth of the time. It installs unbound.h, libunbound.a, libunbound.la and libunbound.pc, everything FindUnbound looks for. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
1 parent 7031cd3 commit 29c6653

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,9 @@ jobs:
7070
tar xzf unbound-1.22.0.tar.gz
7171
cd unbound-1.22.0
7272
./configure --with-libexpat=/usr/local --with-ssl=/usr --enable-static --disable-shared --with-pic
73-
make
74-
sudo make install
73+
# monero only needs libunbound, skip the daemon and the tools
74+
make -j"$(nproc)" lib
75+
sudo make install-lib
7576
cd ../
7677
7778
- name: Restore ccache

0 commit comments

Comments
 (0)