github.com/cybriq/giocore@v0.0.7-0.20210703034601-cfb9cb5f3900/.builds/openbsd.yml (about)

     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_go: |
    12       mkdir -p /home/build/sdk
    13       curl https://dl.google.com/go/go1.16.3.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 ./...