diff options
author | Itay Grudev <itay+github.com@grudev.com> | 2022-06-07 16:53:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-07 16:53:38 +0300 |
commit | 0c4a0d8e9f752af83f76c51e3cbb632aa03fb7dd (patch) | |
tree | 3ea1181d0fbdcd22141a908504a5b6c34654d212 /.github | |
parent | Provide API for blocking sendMessage (#154) (diff) | |
parent | Link to GH Pages documentation (diff) | |
download | singleapplication-0c4a0d8e9f752af83f76c51e3cbb632aa03fb7dd.tar.xz |
Merge pull request #155 from itay-grudev/doxygen
Doxygen
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/doxygen.yml | 38 | ||||
-rw-r--r-- | .github/workflows/main.yml (renamed from .github/workflows/build.yml) | 1 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml new file mode 100644 index 0000000..c47f809 --- /dev/null +++ b/.github/workflows/doxygen.yml @@ -0,0 +1,38 @@ +name: "Documentation" + +on: + push: + branches: + - 'main' + - 'master' + +jobs: + doxygen: + name: Doxygen + runs-on: ubuntu-22.04 + steps: + - name: Clone repo + uses: actions/checkout@v3 + + - name: Install doxygen and pre-requsites packages + run: | + sudo apt-get update + sudo apt-get install doxygen qtbase5-dev + + - name: Generate documentation + run: | + cmake -B build -D DOXYGEN_WARN_AS_ERROR=YES + cmake --build build --target SingleApplicationDocumentation + + - name: Deploy to GitHub pages + on: + branches: + - master + + uses: crazy-max/ghaction-github-pages@v3 + with: + target_branch: gh-pages + build_dir: build/html + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + diff --git a/.github/workflows/build.yml b/.github/workflows/main.yml index dfa770a..d6fe0de 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/main.yml @@ -12,6 +12,7 @@ on: jobs: build: + name: Build strategy: matrix: qt_version: [5.12.6, 5.15.0, 6.0.0, 6.2.0] |