Update avr-gcc to v14 #496
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Doxygen | |
on: [push, pull_request] | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Install build tools | |
run: sudo apt install -y bison flex ninja-build | |
- name: Build doxygen | |
run: | | |
git clone --depth 1 https://github.com/doxygen/doxygen | |
cmake -S doxygen -B cmake-build-doxygen -G Ninja -D CMAKE_BUILD_TYPE=Release | |
cmake --build cmake-build-doxygen --config Release | |
- name: Generate HTML documentation | |
run: ./cmake-build-doxygen/bin/doxygen Doxyfile | |
- name: Disable Jekyll processing | |
run: touch cmake-build-doc/html/.nojekyll | |
- name: Pushes to documentation repo | |
uses: cpina/github-action-push-to-another-repository@main | |
env: | |
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }} | |
with: | |
source-directory: "cmake-build-doc/html" | |
destination-github-username: "tobanteEmbedded" | |
destination-repository-name: "tetl-docs" | |
user-email: tobanteEmbedded@gmail.com | |
target-branch: main |