-
Notifications
You must be signed in to change notification settings - Fork 103
37 lines (34 loc) · 1 KB
/
generate-docs.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
37
name: libopenshot-audio documentation
on:
# Triggers the workflow on push or pull request events but only for the develop branch
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt update
sudo apt install cmake libasound2-dev doxygen graphviz python3
- name: Build libopenshot-audio docs
run: |
mkdir build
pushd build
cmake -B . -S ..
cmake --build . --target doc
popd
# Create an artifact out of the generated HTML
- uses: actions/upload-artifact@v3
with:
name: "OpenShotAudio-docs"
path: "build/doc/html/"