aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher2025-08-03 22:21:45 +0200
committerJakob Unterwurzacher2025-08-03 22:31:27 +0200
commit075911d8c3440baf6efbe86045fb1d51b9a5b6fc (patch)
tree1654e8a4f979b6cc77070784c420673c3552eb6c
parent516dc9739814cd745d9b94393105649c72edc4d6 (diff)
github ci: add macos
-rw-r--r--.github/workflows/macos.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
new file mode 100644
index 0000000..c22d84b
--- /dev/null
+++ b/.github/workflows/macos.yml
@@ -0,0 +1,34 @@
+name: macos
+
+on:
+ push:
+ pull_request:
+ workflow_dispatch:
+
+jobs:
+ build:
+ runs-on: macos-15
+ steps:
+
+ - uses: actions/setup-go@v5
+ with:
+ go-version: 'stable'
+
+ - name: Install macports
+ run: |
+ wget --no-verbose https://github.com/macports/macports-base/releases/download/v2.11.4/MacPorts-2.11.4-15-Sequoia.pkg
+ sudo installer -pkg MacPorts*.pkg -target /
+ rm MacPorts*.pkg
+
+ - name: Install macfuse
+ run: |
+ sudo /opt/local/bin/port install macfuse
+ sudo ln -fsn /opt/local/Library/Filesystems/macfuse.fs /Library/Filesystems/macfuse.fs
+
+ - uses: actions/checkout@v4
+ with:
+ fetch-depth: 0 # Make "git describe" work
+
+ - name: test
+ run: |
+ ./test-without-openssl.bash