From 724f87371ce2981cd94906dfb4e7a2e5a569a263 Mon Sep 17 00:00:00 2001 From: Hannes Diethelm Date: Tue, 25 Aug 2026 22:55:19 +0200 Subject: [PATCH 1/4] ci: Enable fail on htmlcheck error Also fix spelling mistakes and check repo after htmlcheck --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 72b2bdca727..352f965a1bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -241,15 +241,15 @@ jobs: run: scripts/manpage-name-check.py --enforce docs/build/man - name: Check for derived-id section references run: scripts/docs-anchor-check.py --enforce - - name: Verify no untracked or modified files after build - run: | - #*.po and documentation.pot are modifyed by build. Ignore them for now. - .github/scripts/verify-clean-repo.sh ':(exclude)docs/po/*.po' ':(exclude)docs/po/documentation.pot' - name: HTML checks run: | set -x - #-w sets warn only, remove to generate a CI failure on error - scripts/htmlcheck.sh -w + #-w sets warn only, change to scripts/htmlcheck.sh -w if to many errors occur + scripts/htmlcheck.sh + - name: Verify no untracked or modified files after build + run: | + #*.po and documentation.pot are modified by build. Ignore them for now. + .github/scripts/verify-clean-repo.sh ':(exclude)docs/po/*.po' ':(exclude)docs/po/documentation.pot' - name: Tar linuxcnc-doc run: | set -x @@ -410,7 +410,7 @@ jobs: .github/scripts/build-package-indep.sh - name: Verify no untracked or modified files after build run: | - #*.po and documentation.pot are modifyed by build. Ignore them for now. + #*.po and documentation.pot are modified by build. Ignore them for now. .github/scripts/verify-clean-repo.sh ':(exclude)VERSION' ':(exclude)debian/changelog' ':(exclude)docs/po/*.po' ':(exclude)docs/po/documentation.pot' - name: Install debian packages run: | From 33efcd97272c85e7e6b5a570e57f92ffe9e16769 Mon Sep 17 00:00:00 2001 From: Hannes Diethelm Date: Wed, 26 Aug 2026 00:11:28 +0200 Subject: [PATCH 2/4] Temporary commit: Upload all doc build for investigation --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 352f965a1bd..596d881789d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -261,6 +261,17 @@ jobs: archive: false path: linuxcnc-doc.tar.gz if-no-files-found: error + - name: Tar linuxcnc-doc-all + run: | + set -x + tar -czf linuxcnc-doc-all.tar.gz docs/build + - name: Upload linuxcnc-doc-all artifact + uses: actions/upload-artifact@v7 + with: + name: linuxcnc-doc-all + archive: false + path: linuxcnc-doc-all.tar.gz + if-no-files-found: error package-arch: runs-on: ${{ matrix.runner }} From ca4bf63cf9c38ef3ed918324d5b40b9d95878905 Mon Sep 17 00:00:00 2001 From: Hannes Diethelm Date: Wed, 26 Aug 2026 13:01:01 +0200 Subject: [PATCH 3/4] Test commit: Use ubuntu 26.04 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 596d881789d..25ac6409a73 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -215,7 +215,7 @@ jobs: scripts/shellcheck.sh htmldocs: - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 timeout-minutes: 60 steps: - name: Dump GitHub context From ad1407d5c7f95b5b74540c3fa7ab8fd612470e54 Mon Sep 17 00:00:00 2001 From: Hannes Diethelm Date: Wed, 26 Aug 2026 13:25:21 +0200 Subject: [PATCH 4/4] Test commit: All ubuntu-26.04 / warn again to get artifact --- .github/workflows/ci.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 25ac6409a73..9ff13aa2f51 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ env: jobs: rip-and-test: - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 timeout-minutes: 45 steps: - name: Dump GitHub context @@ -57,7 +57,7 @@ jobs: .github/scripts/verify-clean-repo.sh rip-headless: - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 timeout-minutes: 45 steps: - name: Dump GitHub context @@ -109,7 +109,7 @@ jobs: .github/scripts/verify-clean-repo.sh rip-rtai: - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 timeout-minutes: 45 steps: - name: Dump GitHub context @@ -138,7 +138,7 @@ jobs: .github/scripts/verify-clean-repo.sh rip-and-test-clang: - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 timeout-minutes: 45 steps: - name: Dump GitHub context @@ -172,7 +172,7 @@ jobs: .github/scripts/verify-clean-repo.sh cppcheck: - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 timeout-minutes: 45 steps: - name: Checkout repository @@ -192,7 +192,7 @@ jobs: scripts/cppcheck.sh shellcheck: - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 timeout-minutes: 45 steps: - name: Checkout repository @@ -244,8 +244,8 @@ jobs: - name: HTML checks run: | set -x - #-w sets warn only, change to scripts/htmlcheck.sh -w if to many errors occur - scripts/htmlcheck.sh + #-w sets warn only, remove to generate a CI failure on error + scripts/htmlcheck.sh -w - name: Verify no untracked or modified files after build run: | #*.po and documentation.pot are modified by build. Ignore them for now. @@ -278,7 +278,7 @@ jobs: timeout-minutes: 75 strategy: matrix: - runner: ["ubuntu-24.04", "ubuntu-24.04-arm"] + runner: ["ubuntu-26.04", "ubuntu-26.04-arm"] image: ["debian:bookworm", "debian:trixie", "debian:sid"] include: - allow_fail: False @@ -368,7 +368,7 @@ jobs: if-no-files-found: error package-indep: - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 timeout-minutes: 75 strategy: matrix: @@ -458,7 +458,7 @@ jobs: if: (github.event_name == 'release' && github.event.action == 'published') || startsWith(github.ref, 'refs/tags/') permissions: contents: write - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 steps: - name: Download artifacts uses: actions/download-artifact@v8