20250108 refactor facet api naming (#405) #110
This file contains hidden or 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: Publish docs via Github Pages | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Set up SBCL via Roswell. | |
| run: | | |
| curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh | |
| ros install sbcl-bin/2.4.0 | |
| ros use sbcl-bin/2.4.0 | |
| ros install qlot | |
| - name: Set up Python 3.12 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.12 | |
| - name: Update $PATH | |
| run: | | |
| echo $PATH | |
| export PATH=/home/runner/.roswell/bin:$PATH | |
| echo "PATH=$HOME/bin:$PATH" >> $GITHUB_ENV | |
| - name: Installing ISL | |
| run: sudo apt-get install -y libisl-dev cmake | |
| - name: Download and install Abseil | |
| run: | | |
| set -ex | |
| git clone --recursive -b lts_2024_07_22 https://github.com/abseil/abseil-cpp $GITHUB_WORKSPACE/abseil-cpp | |
| cd $GITHUB_WORKSPACE/abseil-cpp | |
| sudo cmake . -DCMAKE_CXX_STANDARD=17 -DABSL_ENABLE_INSTALL=ON | |
| sudo make -j20 | |
| sudo make install | |
| sudo ldconfig | |
| - name: Download and install protobuf | |
| run: | | |
| git clone --recursive -b 28.x https://github.com/protocolbuffers/protobuf | |
| cd protobuf/cmake | |
| mkdir build | |
| cd build | |
| cmake -DCMAKE_CXX_STANDARD=17 -Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_ABSL_PROVIDER=package -DCMAKE_INSTALL_PREFIX=/usr/local/ ../.. | |
| sudo make install -j20 | |
| sudo ldconfig | |
| - name: Set up cl-protobufs | |
| run: | | |
| git clone https://github.com/qitab/cl-protobufs.git | |
| cd cl-protobufs/protoc | |
| cmake . -DCMAKE_CXX_STANDARD=17 | |
| cmake --build . --target install --parallel 16 | |
| cd ../../ | |
| - name: Installing requirements | |
| run: make install_docs | |
| - name: Building documentations | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| qlot install | |
| mkdir -p docs/packages && CI=1 BACKEND=LISP qlot exec make build_docs && echo -e "markdown-katex\nlantana==2.11.2" > docs/requirements.txt | |
| - name: Deploy docs | |
| uses: mhausenblas/mkdocs-deploy-gh-pages@master | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| CONFIG_FILE: mkdocs.yml | |
| EXTRA_PACKAGES: build-base | |
| REQUIREMENTS: ./docs/requirements.txt |