File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -216,6 +216,35 @@ jobs:
216216 test $(libwacom-list-devices --format=yaml | yq -r '.devices[] | select(.bus == "usb") | select(.vid == "0x056a") | select(.pid == "0x0358") | .name' | wc -l) -eq 0
217217 test $(libwacom-list-devices --format=yaml | yq -r '.devices[] | select(.bus == "usb") | select(.vid == "0x056a") | select(.pid == "0x032a") | .name' | wc -l) -eq 1
218218
219+ # ###
220+ # duplicate device check
221+ list-local-devices :
222+ needs : build-and-dist
223+ runs-on : ubuntu-24.04
224+ steps :
225+ - uses : actions/checkout@v4
226+ # install python so we get pip for meson
227+ - uses : actions/setup-python@v5
228+ with :
229+ python-version : ' 3.12'
230+ # Run as sudo because we install to /etc and thus need the pip
231+ # packages available to root
232+ - uses : ./.github/actions/pkginstall
233+ with :
234+ apt : $UBUNTU_PACKAGES
235+ pip : $PIP_PACKAGES
236+ pip_precmd : sudo
237+ - uses : ./.github/actions/meson
238+ with :
239+ meson_args : --prefix=/usr
240+ meson_skip_test : yes
241+ ninja_args : install
242+ ninja_precmd : sudo
243+ # We have no local devices so this doesn't do much beyond checking for segfaults
244+ - run : libwacom-list-local-devices
245+ - run : libwacom-list-local-devices --format=yaml
246+ - run : libwacom-list-local-devices --format=datafile
247+
219248 # ###
220249 # make sure clean_svg.py works on our layout files
221250 clean-svg-check :
You can’t perform that action at this time.
0 commit comments