Skip to content

Add out of bounds check for encoding/decoding (#42) #50

Add out of bounds check for encoding/decoding (#42)

Add out of bounds check for encoding/decoding (#42) #50

Workflow file for this run

name: Doxygen
on:
push:
branches:
- master
- doc-*
jobs:
doc:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: install deps
run: |
sudo apt update
sudo apt install -y libclang-12-dev
git clone https://github.com/doxygen/doxygen doxygen-tool
cd doxygen-tool
mkdir build
cd build
cmake -Duse_libclang=ON -DCMAKE_PREFIX_PATH=/usr/lib/llvm-12/ ..
make -j$(nproc)
sudo make install
cd ../..
sudo npm install -g surge
- name: apply patch to README
run: |
sed -i 's/!\[puffer\](.*)//g' README.md
sed -i 's|\[!\[\([^(]*\)\]([^)]*)|[\1|g' README.md
sed -i 's|```c++|```{.cpp}|g' README.md
sed -i 's|:closed_book:.*||g' README.md
- name: doxygen
run: doxygen Doxyfile
- name: upload
run: surge ./doxygen/html protopuf.surge.sh --token ${{ secrets.SURGE_TOKEN }}