Skip to content

Commit b4f4516

Browse files
authored
Migrate Doxygen to GitHub Actions (#1416)
* add doxygen workflow to ga * install graphviz * install ttf-freefont * specify doxyfile * use enc key * use enc key * use marketplace action to deploy * use marketplace action to deploy * use marketplace action to deploy * check current folder * check current folder * check current folder * check current folder * check current folder * check current folder * check current folder * fix deployment * fix deployment * fix deployment * fix deployment * specify doxyfile path * fix syntax * fix paths in doxyfile * fix forked branch ci * add develop branch
1 parent 19e0f14 commit b4f4516

File tree

7 files changed

+31
-100
lines changed

7 files changed

+31
-100
lines changed

.github/github_deploy_key.enc

-3.31 KB
Binary file not shown.

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ jobs:
268268
ulimit -c unlimited -S
269269
timeout --signal=SIGABRT 60m ./tst/webrtc_client_test
270270
sample-check:
271+
if: github.repository == 'awslabs/amazon-kinesis-video-streams-webrtc-sdk-c'
271272
runs-on: ubuntu-latest
272273
env:
273274
AWS_KVS_LOG_LEVEL: 2
+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Doxygen GitHub Pages Deploy Action WebRTC C SDK
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- develop
8+
9+
jobs:
10+
generate-and-deploy-doxygen:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v2
15+
16+
- name: Install requirements
17+
run: sudo apt-get install doxygen graphviz -y
18+
shell: bash
19+
20+
- name: Generate Doxygen Documentation
21+
run: doxygen Doxyfile
22+
shell: bash
23+
24+
- name: Deploy
25+
uses: JamesIves/github-pages-deploy-action@v4.2.5
26+
with:
27+
folder: doc/html
28+
branch: gh-pages
29+

.travis.yml

-99
This file was deleted.

.github/Doxyfile renamed to Doxyfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#---------------------------------------------------------------------------
66
PROJECT_NAME = "Amazon Kinesis Webrtc C SDK"
77
OUTPUT_DIRECTORY = doc
8-
INPUT = ../src/include Introduction.md ../src/source/
8+
INPUT = src/include Introduction.md src/source/
99
FILE_PATTERNS = *.h *.c
1010
RECURSIVE = YES
1111
EXAMPLE_PATTERNS = *
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)