vmactions.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. name: Build (VM Actions)
  2. on: [push, pull_request]
  3. jobs:
  4. freebsd:
  5. runs-on: macos-12
  6. name: FreeBSD
  7. steps:
  8. - uses: actions/checkout@v3
  9. - name: Build
  10. uses: vmactions/freebsd-vm@v0
  11. with:
  12. usesh: true
  13. prepare: |
  14. pkg install -y \
  15. gmake \
  16. pkgconf \
  17. libXcursor \
  18. libXext \
  19. libXinerama \
  20. libXi \
  21. libXfixes \
  22. libXrandr \
  23. libXScrnSaver \
  24. libXxf86vm \
  25. wayland \
  26. wayland-protocols \
  27. libxkbcommon \
  28. mesa-libs \
  29. libglvnd \
  30. evdev-proto \
  31. libinotify \
  32. alsa-lib \
  33. jackit \
  34. pipewire \
  35. pulseaudio \
  36. sndio \
  37. dbus \
  38. zh-fcitx \
  39. ibus \
  40. libsamplerate \
  41. libudev-devd
  42. run: |
  43. mkdir build_autotools
  44. (cd build_autotools && CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" ../configure)
  45. gmake -C build_autotools -j`sysctl -n hw.ncpu` V=1