mirror of
https://git.sr.ht/~rjarry/aerc
synced 2026-03-02 18:23:33 +01:00
Add go 1.23 to the build matrix. Remove redundant install of gnupg. Signed-off-by: Robin Jarry <robin@jarry.cc>
33 lines
740 B
YAML
33 lines
740 B
YAML
---
|
|
on: push
|
|
|
|
jobs:
|
|
macos:
|
|
runs-on: macos-latest
|
|
strategy:
|
|
matrix:
|
|
go:
|
|
- '1.21'
|
|
- '1.22'
|
|
- '1.23'
|
|
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 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
|