Fix several compile errors with GraphScope (#173) #119
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Doc | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Doc | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Install Dependencies | |
run: | | |
sudo apt update -y | |
sudo apt install -y libunwind-dev | |
sudo apt install -y --no-install-recommends libmpich-dev libgoogle-glog-dev libgflags-dev librdkafka-dev doxygen | |
- name: Build Doc | |
run: | | |
mkdir build | |
cd build | |
cmake .. | |
make doc | |
cp ../misc/logo.png docs | |
- name: Commit Doc | |
run: | | |
git config user.email [email protected] | |
git config user.name github-actions | |
git branch -D gh-pages || true | |
git checkout --orphan gh-pages | |
shopt -s extglob | |
rm -rf !(build) | |
rm -rf .github .clang-format .gitattributes .gitmodules .gitignore | |
mv build/docs/* ./ | |
rm -rf build | |
git add . | |
git commit -m "auto build from ${{ github.sha }}." | |
git push -f origin gh-pages | |