From 385d19434608087843ac978b2040549806645b0c Mon Sep 17 00:00:00 2001 From: Vladimir Umek Date: Thu, 12 Feb 2026 11:34:22 +0100 Subject: [PATCH 1/3] Add GH Actions workflow that builds the pack --- .github/workflows/pack.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/pack.yml diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml new file mode 100644 index 00000000..1a82d6f9 --- /dev/null +++ b/.github/workflows/pack.yml @@ -0,0 +1,37 @@ +name: Build documentation and pack +on: + workflow_dispatch: + pull_request: + push: + branches: [main] + release: + types: [published] + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + pack: + name: Generate pack + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Fetch tags + if: github.event_name == 'release' + run: | + git fetch --tags --force + + - uses: Open-CMSIS-Pack/gen-pack-action@main + with: + doxygen-version: 1.13.2 + packchk-version: 1.4.4 + gen-doc-script: ./DoxyGen/gen_doc.sh + doc-path: ./Documentation/html/ + gen-pack-script: ./gen_pack.sh --no-preprocess + gen-pack-output: ./output + gh-pages-branch: "" + gh-pages-deploy: "" From bfe3e37442adaf4a20c2767f66c6490641596a3e Mon Sep 17 00:00:00 2001 From: Vladimir Umek Date: Thu, 12 Feb 2026 11:49:25 +0100 Subject: [PATCH 2/3] Fix Documentation path --- .github/workflows/pack.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 1a82d6f9..0b52d4c4 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -30,7 +30,7 @@ jobs: doxygen-version: 1.13.2 packchk-version: 1.4.4 gen-doc-script: ./DoxyGen/gen_doc.sh - doc-path: ./Documentation/html/ + doc-path: ./Documentation gen-pack-script: ./gen_pack.sh --no-preprocess gen-pack-output: ./output gh-pages-branch: "" From 4908c682bef3c8aace1a220de0eace738657b0a6 Mon Sep 17 00:00:00 2001 From: Vladimir Umek Date: Thu, 12 Feb 2026 12:18:14 +0100 Subject: [PATCH 3/3] Install packages --- .github/workflows/pack.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 0b52d4c4..571bf289 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -20,6 +20,11 @@ jobs: with: fetch-depth: 0 + - name: Install packages required to generate documentation + run: | + sudo apt-get update + sudo apt-get install --no-install-recommends -y graphviz plantuml + - name: Fetch tags if: github.event_name == 'release' run: |