update comment #64
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: Ubuntu-x86_64 | |
# Only run on main | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
env: | |
BUILD_TYPE: Release | |
jobs: | |
build-and-test: | |
if: ${{ github.event_name != 'pull_request' }} # and never, ever run on pull requests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install packages | |
run: | | |
sudo apt update | |
sudo apt install cmake zlib1g-dev libpcre2-dev clang lcov libcunit1-dev doxygen | |
- name: Configure CMake | |
run: cmake -DBUILD_DOC=ON . | |
- name: Get Doxygen awesome CSS | |
run: ./misc/setup_doxycss.sh | |
- name: Build Doc | |
run: make | |
- name: Deploy to GitHub Pages | |
if: github.ref == 'refs/heads/main' | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs/html/ |