mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 20:48:21 +00:00
Use ccache for docs gen github workflow
This commit is contained in:
parent
35121779f1
commit
a26b504b8e
1 changed files with 18 additions and 12 deletions
30
.github/workflows/generate-docs.yml
vendored
30
.github/workflows/generate-docs.yml
vendored
|
@ -41,33 +41,39 @@ jobs:
|
|||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install \
|
||||
git \
|
||||
cmake \
|
||||
make \
|
||||
gcc \
|
||||
g++ \
|
||||
flex \
|
||||
bison \
|
||||
libfl2 \
|
||||
bsdmainutils \
|
||||
ccache \
|
||||
cmake \
|
||||
flex \
|
||||
g++ \
|
||||
gcc \
|
||||
git \
|
||||
libfl-dev \
|
||||
libfl2 \
|
||||
libkrb5-dev \
|
||||
libpcap-dev \
|
||||
libssl-dev \
|
||||
make \
|
||||
python3 \
|
||||
python3-dev \
|
||||
python3-pip\
|
||||
sqlite3 \
|
||||
swig \
|
||||
zlib1g-dev \
|
||||
libkrb5-dev \
|
||||
bsdmainutils \
|
||||
sqlite3
|
||||
zlib1g-dev
|
||||
# Many distros adhere to PEP 394's recommendation for `python` =
|
||||
# `python2` so this is a simple workaround until we drop Python 2
|
||||
# support and explicitly use `python3` for all invocations.
|
||||
sudo ln -sf /usr/bin/python3 /usr/local/bin/python
|
||||
sudo pip3 install -r doc/requirements.txt
|
||||
|
||||
- name: ccache
|
||||
uses: hendrikmuhs/ccache-action@v1.2
|
||||
with:
|
||||
key: 'docs-gen-${{ github.job }}'
|
||||
|
||||
- name: Configure
|
||||
run: ./configure --disable-broker-tests --disable-cpp-tests --disable-spicy
|
||||
run: ./configure --disable-broker-tests --disable-cpp-tests --disable-spicy --ccache
|
||||
|
||||
- name: Build
|
||||
run: cd build && make -j $(nproc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue