-
Notifications
You must be signed in to change notification settings - Fork 58
36 lines (33 loc) · 1.01 KB
/
update.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
##==================================================================================================
## EVE - Expressive Vector Engine
## Copyright : EVE Project Contributors
## SPDX-License-Identifier: BSL-1.0
##==================================================================================================
name: EVE Documentation Update
on:
push:
branches:
- main
jobs:
generate-doc:
runs-on: ubuntu-latest
container:
image: ghcr.io/jfalcou/compilers:v7
strategy:
fail-fast: false
steps:
- name: Fetch current branch
uses: actions/checkout@v3
- name: Prepare EVE
run: |
mkdir build && cd build
cmake .. -G Ninja -DEVE_BUILD_TEST=OFF -DEVE_BUILD_DOCUMENTATION=ON
- name: Generate Doxygen
run: |
cd build
ninja doxygen
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/docs