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>
This commit is contained in:
Aaron Bieber
2020-01-28 08:02:14 -07:00
committed by Elias Naur
parent 6819dea21c
commit ff6c798a28
7 changed files with 33 additions and 9 deletions
+23
View File
@@ -0,0 +1,23 @@
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 ./...