summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yml45
1 files changed, 5 insertions, 40 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 419b77b..d911da3 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -21,8 +21,8 @@ jobs:
clang-format:
runs-on: ubuntu-latest
steps:
- - name: Install dependencies(clang-format)
- run: sudo apt update && sudo apt install -y clang-format
+ - name: Install dependencies(clang-format & clang-tidy)
+ run: sudo apt update && sudo apt install -y g++ && sudo apt install -y clang-format && sudo apt install -y clang-tidy
- name: Checkout repository
uses: actions/checkout@v4
@@ -47,6 +47,9 @@ jobs:
runs-on: ubuntu-latest
steps:
+ - name: Install dependencies(g++)
+ run: sudo apt update && sudo apt install -y g++
+
- name: Checkout repository
uses: actions/checkout@v4
with:
@@ -72,41 +75,3 @@ jobs:
with:
name: Artifact
path: bin/
- doxygen:
- runs-on: ubuntu-latest
- if: ${{ github.event_name == 'push' && format('refs/heads/{0}', github.event.repository.default_branch) == github.ref }}
-
- steps:
- - name: Install dependencies(doxygen, graphviz)
- run: sudo apt update && sudo apt install -y doxygen graphviz
-
- - name: Checkout repository
- uses: actions/checkout@v4
- with:
- ref: ${{ github.head_ref }}
- ssh-key: ${{ secrets.DEPLOY_KEY }}
- fetch-depth: 0
-
- - name: Generate Doxygen documentation
- run: doxygen
-
- - name: Push changes
- uses: stefanzweifel/git-auto-commit-action@v5
- with:
- commit_message: "bump: doxygen"
- commit_user_name: "github-actions[bot]"
- commit_user_email: "github-actions[bot]@users.noreply.github.com"
- commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
- # commit_branch: ${{ github.head_ref }}
-
- - name: Deploy to Github Pages
- uses: peaceiris/actions-gh-pages@v4
- with:
- github_token: ${{ secrets.GITHUB_TOKEN }}
- publish_dir: ./docs
-
- - name: Upload Artifact
- uses: actions/upload-artifact@v4
- with:
- name: Doxygen
- path: docs/