Update api.yml #863
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: API Documentation | |
on: | |
push: | |
branches: [ feature/cleanup ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Enroute | |
uses: actions/checkout@v4 | |
with: | |
path: enroute | |
submodules: recursive | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v4 | |
with: | |
cache: 'true' | |
modules: 'qt5compat qtconnectivity qthttpserver qtimageformats qtlocation qtmultimedia qtpositioning qtserialport qtshadertools qtspeech qtwebsockets qtwebview' | |
version: '6.6.*' | |
- name: Install Additional Software | |
run: | | |
sudo apt install doxygen extra-cmake-modules graphviz libzip-dev ninja-build spirv-tools | |
- name: Compile Enroute Flight Navigation | |
run: | | |
cmake \ | |
-B build-enroute \ | |
-S enroute \ | |
-DCMAKE_BUILD_TYPE=Debug | |
cmake --build build-enroute --target enroute_doc | |
mv build-enroute/src/APIdoc/html ./APIdoc | |
- name: Publish Documentation | |
if: github.event_name == 'push' | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages | |
folder: APIdoc | |
target-folder: APIdoc |