1+ # vim: sw=2
2+
13name : Build CI
24
35on :
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
0 commit comments