diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-03-05 18:15:12 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-03-07 18:03:02 +0800 |
| commit | bbe178b62abcff6238effd33e112c69fedc7b6d0 (patch) | |
| tree | 0e9359b79922ae56e407cb2c2605a86cbfe0a6e8 /.github | |
| parent | c90cd32af3a50bbaa3829eff91ef48913512b1ac (diff) | |
ci: fix dependencies - we need latest version of g++ for c++23
remove: doxygen
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 45 |
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/ |
