fix build for fp32 cpu #48
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: Doxygen | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Install doxygen | |
# run: sudo apt-get install -y doxygen | |
run: | | |
wget https://www.doxygen.nl/files/doxygen-1.9.5.linux.bin.tar.gz | |
tar -xvzf doxygen-1.9.5.linux.bin.tar.gz | |
ln -s doxygen-1.9.5/bin/doxygen doxygen | |
- name: Generate doxygen html | |
run: | | |
mkdir build | |
cd build | |
wget https://raw.githubusercontent.com/jothepro/doxygen-awesome-css/main/doxygen-awesome.css | |
ENV_GIT_HEAD=`git log -1 --format="%h (%cd)" | tr -d "\n"` ../doxygen ../doc/Doxyfile | |
mkdir -p html/doc | |
cp -r ../doc/manual html/doc/ | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./build/html | |
publish_branch: gh-pages |