aboutsummaryrefslogtreecommitdiff
path: root/.builds/freebsd.yml
blob: 1b4ceba38f8f0d50310eb1ba21ff4e5b2db4f172 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
      timeout -s KILL 30s ./seatd/.builds/smoketest-seatd.sh
   - smoketest-builtin: |
      timeout -s KILL 30s ./seatd/.builds/smoketest-builtin.sh