Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 26 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
- 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
Expand All @@ -261,13 +261,24 @@ 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 }}
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
Expand Down Expand Up @@ -357,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:
Expand Down Expand Up @@ -410,7 +421,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: |
Expand Down Expand Up @@ -447,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
Expand Down
Loading