blob: 950a764257a5971ddfc440a66ae89099eddbe98e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
---
on: push
jobs:
macos:
runs-on: macos-latest
strategy:
matrix:
go:
- '1.18'
- '1.22'
env:
DESTDIR: ./out
GOFLAGS: -tags=notmuch
name: MacOS Go ${{ matrix.go }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
check-latest: true
- run: brew install gnupg notmuch scdoc
- run: |
cat >> "$GITHUB_ENV" <<EOF
CGO_CFLAGS=-I$(brew --prefix)/include
CGO_LDFLAGS=-L$(brew --prefix)/lib -Wl,-rpath,$(brew --prefix)/lib
EOF
- run: make
- run: make install
- run: make checkinstall
- run: make tests
|