Files
gio/.builds/openbsd.yml
T
Aaron Bieber ff6c798a28 app: Extend CI to build on OpenBSD now that golang.org/x/sys is updated.
I was able to get the Pipe2 syscall added for OpenBSD:
https://go.googlesource.com/sys/+/9fbb57f87de9ccfe3a99d4e3270ce8a926ebba4f

This also updates the dependencies to include the latest sys and gio.

I submitted a patch to the builder environment to include the xshare sets on
OpenBSD. Once that is in it will mean the "install_deps" block can be removed.

  https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/9640

Here is a link to a successful build: https://builds.sr.ht/~qbit/job/143004

Signed-off-by: Aaron Bieber <aaron@bolddaemon.com>
2020-01-28 17:21:01 +01:00

24 lines
501 B
YAML

image: openbsd/latest
packages:
- libxkbcommon
- go
sources:
- https://git.sr.ht/~eliasnaur/gio
environment:
PATH: /home/build/bin:/bin:/usr/local/bin:/usr/bin
tasks:
- install_gotip: |
go get golang.org/dl/gotip
/home/build/go/bin/gotip download
mkdir /home/build/bin
ln -s /home/build/go/bin/gotip /home/build/bin/go
- test_gio: |
cd gio
go test ./...
- test_example: |
cd gio/example
go test ./...
- test_cmd: |
cd gio/cmd
go test ./...