Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DocsTest #99

Merged
merged 8 commits into from
Sep 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
33 changes: 8 additions & 25 deletions .github/workflows/Doxygen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,36 +10,19 @@ jobs:
Doxygen:
runs-on: ubuntu-latest
steps:
- name: Configure GPG Key
run: |
echo -n "$PPA_KEY" | base64 --decode | gpg --import
env:
PPA_KEY: ${{ secrets.PPA_KEY }}
- name: Checkout Branch
uses: actions/checkout@v2-beta # use either @v2-beta or @master. Eventually there will be a @v2 tag.
- name: Prepare docs
run: |
mkdir -p build/docs
- name: "Generate Documentation"
uses: mattnotmitt/doxygen-action@v1
with:
doxyfile-path: "doxygen/doxyfile"
- name: Deploy
- name: Prepare docs
run: |
cp -r doxygen-out/html/* docs

- name: commit
continue-on-error: true
run: |
git config --global user.email "[email protected]"
git config --global user.name "Github Actions"
git add .
git commit -m "docs update"
git push
exit 0

# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./build/docs/html
# enable_jekyll: true
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GH_KEY }}
publish_dir: ./docs
publish_branch: docs
enable_jekyll: true
2 changes: 1 addition & 1 deletion .github/workflows/UnitTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

- name: Build
run: |
github-scripts/debian.sh build
github-scripts/debian.sh builds

- name: Package
run: |
Expand Down
23 changes: 2 additions & 21 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# supported CodeQL languages.
#
name: "Code Quality"
on: [push, pull_request]
on: [push,pull_request]
jobs:
analyze:
name: Analyze
Expand All @@ -24,10 +24,6 @@ jobs:
fail-fast: false
matrix:
language: ["cpp"]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand All @@ -36,23 +32,8 @@ jobs:
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
config-file: ./.github/codeql/codeql-config.yml
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
# - name: Autobuild
# uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

- name: Install Dependencies
run: |
Expand Down