
The smoketest script has gotten significantly simpler, and can simply be inlined into the build scripts if we don't care about running the tests twice. This should fix CI for mailing list patches.
20 lines
774 B
YAML
20 lines
774 B
YAML
image: freebsd/latest
|
|
packages:
|
|
- meson
|
|
sources:
|
|
- https://git.sr.ht/~kennylevinsen/seatd
|
|
tasks:
|
|
- prepare: |
|
|
meson -Dlibseat-seatd=enabled -Dlibseat-builtin=enabled -Dlibseat-logind=disabled build seatd
|
|
- build: |
|
|
ninja -C build
|
|
- unittest: |
|
|
ninja -C build test
|
|
- smoketest: |
|
|
rm -rf build
|
|
meson -Db_lundef=false -Db_sanitize=address -Dlibseat-seatd=enabled -Dlibseat-builtin=enabled -Dexamples=enabled -Dlibseat-logind=disabled build seatd
|
|
ninja -C build
|
|
sudo ninja -C build install
|
|
timeout -s KILL 30s sudo SEATD_LOGLEVEL=debug ./build/seatd-launch ./build/simpletest /dev/input/event0
|
|
- smoketest-builtin: |
|
|
timeout -s KILL 30s sudo LIBSEAT_BACKEND=builtin ./build/simpletest /dev/input/event0
|