From 065dfc7512480835ab235a7543da94bc759b1e69 Mon Sep 17 00:00:00 2001 From: Archit Gupta Date: Wed, 15 Dec 2021 17:44:26 -0800 Subject: [PATCH 1/3] Clean up workflows --- .github/workflows/memory_statistics.yml | 22 ------------------- .../{release-workflow.yml => release.yml} | 0 2 files changed, 22 deletions(-) delete mode 100644 .github/workflows/memory_statistics.yml rename .github/workflows/{release-workflow.yml => release.yml} (100%) diff --git a/.github/workflows/memory_statistics.yml b/.github/workflows/memory_statistics.yml deleted file mode 100644 index 9c778c763..000000000 --- a/.github/workflows/memory_statistics.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Memory statistics - -on: - workflow_dispatch: - -jobs: - memory_statistics: - name: Calculate object sizes - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - submodules: 'recursive' - - name: Measure sizes - uses: FreeRTOS/CI-CD-Github-Actions/memory_statistics@main - with: - config: .github/memory_statistics_config.json - - name: Upload table - uses: actions/upload-artifact@v2 - with: - name: size_table - path: size_table.md diff --git a/.github/workflows/release-workflow.yml b/.github/workflows/release.yml similarity index 100% rename from .github/workflows/release-workflow.yml rename to .github/workflows/release.yml From 9ecf4c518cc63c96bc09018b42ebfa07d68018bc Mon Sep 17 00:00:00 2001 From: Archit Gupta Date: Wed, 15 Dec 2021 17:46:58 -0800 Subject: [PATCH 2/3] Add workflow to deploy doxygen on each commit --- .github/workflows/doxygen.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/doxygen.yml diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml new file mode 100644 index 000000000..8ad1b197d --- /dev/null +++ b/.github/workflows/doxygen.yml @@ -0,0 +1,11 @@ +name: Doxygen Generation +on: + push: + branches: [main] + workflow_dispatch: +jobs: + doxygen-generation: + runs-on: ubuntu-latest + steps: + - name: Doxygen generation + uses: FreeRTOS/CI-CD-Github-Actions/doxygen-generation@main From ea102224cb4e4a3e90f53ccf8e62837b265a59d7 Mon Sep 17 00:00:00 2001 From: Archit Gupta Date: Wed, 15 Dec 2021 17:54:50 -0800 Subject: [PATCH 3/3] Add doxygen deployment to release workflow --- .github/workflows/release.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2585fd26e..1d164d67b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -116,9 +116,21 @@ jobs: with: name: coreMQTT-${{ github.event.inputs.version_number }}.zip path: zip-check/coreMQTT-${{ github.event.inputs.version_number }}.zip + deploy-doxygen: + needs: tag-commit + name: Deploy doxygen documentation + runs-on: ubuntu-latest + steps: + - name: Doxygen generation + uses: FreeRTOS/CI-CD-Github-Actions/doxygen-generation@main + with: + ref: ${{ github.event.inputs.version_number }} + add_release: "true" create-release: + needs: + - create-zip + - deploy-doxygen if: ${{ ( github.event.inputs.delete_existing_tag_release == 'true' && success() ) || ( github.event.inputs.delete_existing_tag_release == 'false' && always() ) }} - needs: create-zip name: Create Release and Upload Release Asset runs-on: ubuntu-latest steps: