Add libnode-dev to docs github runner, update docs to include ZeekJS

This commit is contained in:
Tim Wojtulewicz 2025-04-08 12:15:39 -07:00
parent 0cb5ec735a
commit 586a4fc4c5
2 changed files with 14 additions and 1 deletions

View file

@ -60,6 +60,7 @@ jobs:
libfl-dev \ libfl-dev \
libfl2 \ libfl2 \
libkrb5-dev \ libkrb5-dev \
libnode-dev \
libpcap-dev \ libpcap-dev \
libssl-dev \ libssl-dev \
make \ make \
@ -82,12 +83,24 @@ jobs:
key: 'docs-gen-${{ github.job }}' key: 'docs-gen-${{ github.job }}'
max-size: '2000M' max-size: '2000M'
# Github runners have node installed on them by default in /usr/local. This
# causes problems with configure finding the version from the apt package,
# plus gcc using it by default if we pass the right cmake variables to
# configure. The easiest solution is to move the directory away prior to
# running our build. It's moved back after just in case some workflow action
# expects it to exist.
- name: Move default node install to backup
run: sudo mv /usr/local/include/node /usr/local/include/node.bak
- name: Configure - name: Configure
run: ./configure --disable-broker-tests --disable-cpp-tests --ccache run: ./configure --disable-broker-tests --disable-cpp-tests --ccache
- name: Build - name: Build
run: cd build && make -j $(nproc) run: cd build && make -j $(nproc)
- name: Move default node install to original location
run: sudo mv /usr/local/include/node.bak /usr/local/include/node
- name: Check Spicy docs - name: Check Spicy docs
run: cd doc && make check-spicy-docs run: cd doc && make check-spicy-docs

2
doc

@ -1 +1 @@
Subproject commit e6d259b4b737db33d8a85e49b125c2c45ca922da Subproject commit cc5e123b2f1c406694879cd969f828a3048cf6d8