File tree 1 file changed +46
-0
lines changed
1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change @@ -184,3 +184,49 @@ jobs:
184
184
name : inputplumber_debian-bookworm.deb
185
185
path : target/debian/inputplumber_*.deb
186
186
if-no-files-found : error
187
+
188
+ publish-to-ubuntu-noble :
189
+ name : 🐧 Generate ubuntu 24.04 LTS package
190
+ needs : release
191
+ if : needs.release.outputs.should_publish == 'yes'
192
+ runs-on : ubuntu-latest
193
+
194
+ container :
195
+ image : ubuntu:noble
196
+
197
+ steps :
198
+ - name : Checkout
199
+ uses : actions/checkout@v4
200
+
201
+ - name : Install basic dependencies
202
+ id : install-software
203
+ run : |
204
+ export DEBIAN_FRONTEND=noninteractive
205
+ apt-get update
206
+ apt-get install -y wget git lsb-release wget software-properties-common gnupg curl build-essential devscripts debhelper
207
+
208
+ - name : Install build dependencies
209
+ id : install-build-deps
210
+ run : |
211
+ export DEBIAN_FRONTEND=noninteractive
212
+ apt-get update
213
+ apt-get install -y pkg-config libclang-dev libiio-dev libudev-dev libevdev-dev
214
+
215
+ - name : Install Rust and Cargo
216
+ run : |
217
+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
218
+ echo "$HOME/.cargo/bin" >> $GITHUB_PATH
219
+ . $HOME/.cargo/env
220
+
221
+ - name : Install cargo-deb
222
+ run : cargo install cargo-deb
223
+
224
+ - name : Build Debian package
225
+ run : cargo deb
226
+
227
+ - name : Upload Debian package
228
+ uses : actions/upload-artifact@v4
229
+ with :
230
+ name : inputplumber_ubuntu-noble_amd64.deb
231
+ path : target/debian/inputplumber_*.deb
232
+ if-no-files-found : error
You can’t perform that action at this time.
0 commit comments