freebsd.yml raw

   1  # SPDX-License-Identifier: Unlicense OR MIT
   2  image: freebsd/11.x
   3  packages:
   4   - libX11
   5   - libxkbcommon
   6   - libXcursor
   7   - libXfixes
   8   - wayland
   9   - mesa-libs
  10   - xorg-vfbserver
  11  sources:
  12   - https://git.sr.ht/~eliasnaur/gio
  13  environment:
  14   PATH: /home/build/sdk/go/bin:/bin:/usr/local/bin:/usr/bin
  15  tasks:
  16   - install_go1_14: |
  17       mkdir -p /home/build/sdk
  18       curl https://dl.google.com/go/go1.14.freebsd-amd64.tar.gz | tar -C /home/build/sdk -xzf -
  19   - test_gio: |
  20       export EGL_PLATFORM=surfaceless # for headless tests
  21       cd gio
  22       go test ./...
  23   - test_cmd: |
  24       cd gio/cmd
  25       go test ./...
  26