github: add workflow to test on macos

We have some users on macOS. builds.sr.ht does not support proprietary
build images and will never do.

Signed-off-by: Robin Jarry <robin@jarry.cc>
This commit is contained in:
Robin Jarry 2022-01-24 21:13:45 +01:00
parent 6be78781a1
commit 59ecf93b9b
1 changed files with 16 additions and 0 deletions

16
.github/workflows/macos.yml vendored Normal file
View File

@ -0,0 +1,16 @@
---
on: push
jobs:
macos:
runs-on: macos-latest
env:
DESTDIR: ./out
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- run: brew install scdoc
- run: make
- run: make install
- run: make checkinstall
- run: go test ./...