Skip to content

Commit 2daea3c

Browse files
Merge pull request #2010 from LinuxCNC/ci-more-dists
CI more dists
2 parents 29fa119 + 0808e8b commit 2daea3c

5 files changed

Lines changed: 37 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# vim: sw=2
2+
13
name: Build CI
24

35
on:
@@ -65,7 +67,7 @@ jobs:
6567
runs-on: ubuntu-latest
6668
strategy:
6769
matrix:
68-
image: ["debian:testing", "debian:unstable"]
70+
image: ["debian:buster", "debian:bullseye", "debian:bookworm", "debian:sid"]
6971
container:
7072
image: ${{ matrix.image }}
7173
# IPC_OWNER is needed for shmget IPC_CREAT
@@ -83,12 +85,27 @@ jobs:
8385
set -e
8486
set -x
8587
apt-get --quiet update
88+
# Install stuff needed to check out the linuxcnc repo and turn it into a debian source package.
8689
apt-get --yes --quiet install --no-install-suggests git lsb-release python3 devscripts
90+
8791
- uses: actions/checkout@v3
8892
with:
8993
# "fetch-depth: 0" fetches all of history, this is needed by
9094
# our build system to determine the version from tags
9195
fetch-depth: 0
96+
97+
- name: Add linuxcnc.org deb archive
98+
env:
99+
DEBIAN_FRONTEND: noninteractive
100+
run: |
101+
set -e
102+
set -x
103+
apt-get --yes --quiet install --no-install-recommends gpg software-properties-common
104+
gpg --homedir="${PWD}/gnupg" --output /etc/apt/trusted.gpg.d/linuxcnc-deb-archive.gpg --export 3CB9FD148F374FEF
105+
DIST=$(echo ${{matrix.image}} | cut -d : -f 2)
106+
add-apt-repository "deb http://linuxcnc.org $DIST base"
107+
apt-get --quiet update
108+
92109
- name: Build architecture-specific Debian packages
93110
env:
94111
DEBEMAIL: emc-developers@lists.sourceforge.net
@@ -135,7 +152,7 @@ jobs:
135152
runs-on: ubuntu-latest
136153
strategy:
137154
matrix:
138-
image: ["debian:testing", "debian:unstable"]
155+
image: ["debian:buster", "debian:bullseye", "debian:bookworm", "debian:sid"]
139156
container:
140157
image: ${{ matrix.image }}
141158
# IPC_OWNER is needed for shmget IPC_CREAT
@@ -146,19 +163,35 @@ jobs:
146163
env:
147164
GITHUB_CONTEXT: ${{ toJson(github) }}
148165
run: echo "$GITHUB_CONTEXT"
166+
149167
- name: Install pre-dependencies
150168
env:
151169
DEBIAN_FRONTEND: noninteractive
152170
run: |
153171
set -e
154172
set -x
155173
apt-get --quiet update
174+
# Install stuff needed to check out the linuxcnc repo and turn it into a debian source package.
156175
apt-get --yes --quiet install --no-install-suggests git lsb-release python3 devscripts
176+
157177
- uses: actions/checkout@v3
158178
with:
159179
# "fetch-depth: 0" fetches all of history, this is needed by
160180
# our build system to determine the version from tags
161181
fetch-depth: 0
182+
183+
- name: Add linuxcnc.org deb archive
184+
env:
185+
DEBIAN_FRONTEND: noninteractive
186+
run: |
187+
set -e
188+
set -x
189+
apt-get --yes --quiet install gpg software-properties-common
190+
gpg --homedir="${PWD}/gnupg" --output /etc/apt/trusted.gpg.d/linuxcnc-deb-archive.gpg --export 3CB9FD148F374FEF
191+
DIST=$(echo ${{matrix.image}} | cut -d : -f 2)
192+
add-apt-repository "deb http://linuxcnc.org $DIST base"
193+
apt-get --quiet update
194+
162195
- name: Build architecture-independent Debian packages
163196
env:
164197
DEBEMAIL: emc-developers@lists.sourceforge.net

debian/configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ elif [ -f /etc/lsb-release ]; then
6262
fi
6363

6464
if [ -n "$ENABLE_BUILD_DOCUMENTATION" ]; then
65-
DOC_DEPENDS="dblatex (>= 0.2.12),\n docbook-xsl,\n dvipng,\n graphviz,\n groff,\n inkscape,\n python3-lxml,\n w3c-linkchecker,\n xsltproc,\n texlive-extra-utils,\n texlive-font-utils,\n texlive-fonts-recommended,\n texlive-lang-cyrillic,\n texlive-lang-european,\n texlive-lang-french,\n texlive-lang-german,\n texlive-lang-polish,\n texlive-lang-spanish,\n texlive-latex-recommended,\n fonts-dejavu"
65+
DOC_DEPENDS="dblatex (>= 0.2.12),\n dvipng,\n graphviz,\n groff,\n inkscape,\n python3-lxml,\n w3c-linkchecker,\n xsltproc,\n texlive-extra-utils,\n texlive-font-utils,\n texlive-fonts-recommended,\n texlive-lang-cyrillic,\n texlive-lang-european,\n texlive-lang-french,\n texlive-lang-german,\n texlive-lang-polish,\n texlive-lang-spanish,\n texlive-latex-recommended,\n fonts-dejavu"
6666

6767
case $DISTRIB_NAME in
6868
Debian-9)

debian/control.top.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Build-Depends:
1010
@KERNEL_HEADERS@,
1111
@MODUTILS_DEPENDS@,
1212
@EXTRA_BUILD@,
13+
docbook-xsl,
1314
asciidoc,
1415
ghostscript,
1516
imagemagick,

gnupg/pubring.gpg

1.86 KB
Binary file not shown.

gnupg/trustdb.gpg

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)