openbsd.yml raw

   1  # SPDX-License-Identifier: Unlicense OR MIT
   2  image: openbsd/latest
   3  packages:
   4   - libxkbcommon
   5   - go
   6  sources:
   7   - https://git.sr.ht/~eliasnaur/gio
   8  environment:
   9   PATH: /home/build/sdk/go/bin:/bin:/usr/local/bin:/usr/bin
  10  tasks:
  11   - install_go1_14: |
  12       mkdir -p /home/build/sdk
  13       curl https://dl.google.com/go/go1.14.src.tar.gz | tar -C /home/build/sdk -xzf -
  14       cd /home/build/sdk/go/src
  15       ./make.bash
  16   - test_gio: |
  17       cd gio
  18       go test ./...
  19   - test_cmd: |
  20       cd gio/cmd
  21       go test ./...
  22