Skip to content

feat: 0.2.13 Setup automake #73

feat: 0.2.13 Setup automake

feat: 0.2.13 Setup automake #73

Workflow file for this run

name: Generate ./documentation/docs.pdf
on:
push:
branches: [master]
pull_request:
branches: [master]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Allow one concurrent deployment
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
name: (doxygen ./documentation/s4c.doxyfile) -> (cd ./doxygen/latex && make) -> docs.pdf
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Run sudo apt update
run: sudo apt update -y
- name: Install doxygen
run: sudo apt install doxygen -y
- name: Install doxygen-latex
run: |
sudo apt install doxygen-latex -y
- name: Generate tex (doxygen s4c.doxyfile)
run: |
doxygen "./documentation/s4c.doxyfile"
- name: Compile tex with make (cd ./doxygen/latex ; make)
run: |
echo "Switching dir to ./doxygen/latex" &&
pwd &&
cd ./doxygen/latex &&
pwd &&
make
- name: Move refman.pdf to documentation/docs.pdf
run: |
ls -l ./doxygen/latex/refman.pdf
echo -e "\n\n\033[1;32m ./doxygen/latex/refman.pdf -> ./documentation/docs.pdf\e[0m\n"
mv ./doxygen/latex/refman.pdf ./documentation/docs.pdf
test -e ./documentation/docs.pdf