Skip to content

Commit

Permalink
Migrate Doxygen to GitHub Actions (#1416)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
niyatim23 authored Feb 25, 2022
1 parent 19e0f14 commit b4f4516
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 100 deletions.
Binary file removed .github/github_deploy_key.enc
Binary file not shown.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ jobs:
ulimit -c unlimited -S
timeout --signal=SIGABRT 60m ./tst/webrtc_client_test
sample-check:
if: github.repository == 'awslabs/amazon-kinesis-video-streams-webrtc-sdk-c'
runs-on: ubuntu-latest
env:
AWS_KVS_LOG_LEVEL: 2
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/doxygen-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Doxygen GitHub Pages Deploy Action WebRTC C SDK

on:
push:
branches:
- master
- develop

jobs:
generate-and-deploy-doxygen:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install requirements
run: sudo apt-get install doxygen graphviz -y
shell: bash

- name: Generate Doxygen Documentation
run: doxygen Doxyfile
shell: bash

- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.2.5
with:
folder: doc/html
branch: gh-pages

99 changes: 0 additions & 99 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/Doxyfile → Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#---------------------------------------------------------------------------
PROJECT_NAME = "Amazon Kinesis Webrtc C SDK"
OUTPUT_DIRECTORY = doc
INPUT = ../src/include Introduction.md ../src/source/
INPUT = src/include Introduction.md src/source/
FILE_PATTERNS = *.h *.c
RECURSIVE = YES
EXAMPLE_PATTERNS = *
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit b4f4516

Please sign in to comment.