mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-07 10:25:37 +00:00
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:
@@ -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 ./...
|
||||
Reference in New Issue
Block a user