You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aerc/.github/workflows/macos.yml

32 lines
725 B
YAML

---
on: push
jobs:
macos:
runs-on: macos-latest
strategy:
matrix:
go:
- '1.21'
- '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