aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/macos.yml
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2022-01-24 21:13:45 +0100
committerRobin Jarry <robin@jarry.cc>2022-01-25 09:35:08 +0100
commit59ecf93b9b7e046c8ae896a7c96130ea9260bedf (patch)
tree317abccdec4ead03bdc4bfc97ff824c123c53353 /.github/workflows/macos.yml
parent6be78781a10a5fce78148599eba62cb2ea8822cb (diff)
downloadaerc-59ecf93b9b7e046c8ae896a7c96130ea9260bedf.tar.gz
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>
Diffstat (limited to '.github/workflows/macos.yml')
-rw-r--r--.github/workflows/macos.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
new file mode 100644
index 00000000..19acb282
--- /dev/null
+++ b/.github/workflows/macos.yml
@@ -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 ./...