updated github flow with asio for newer crowcpp #34
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: Deploy Doxygen results to Github Pages | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
build-and-deploy: | |
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession. | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
- name: Prepare dependencies | |
run: | | |
sudo apt-get update && \ | |
sudo apt-get install -yq \ | |
libasio-dev \ | |
libssl-dev zlib1g-dev \ | |
cmake graphviz doxygen | |
- name: configure | |
run: cmake -B build -S . -DEXPATPP_BUILD_DOCS=ON | |
- name: clean generated docs dir | |
run: rm -rf build/html | |
- name: build | |
run: cmake --build build --target doc | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: build/html # The folder the action should deploy. |