builds: test with notmuch

This is never tested. Let's check that it compiles at least.

Signed-off-by: Robin Jarry <robin@jarry.cc>
This commit is contained in:
Robin Jarry 2022-04-14 21:28:18 +02:00
parent 7f4069f0c5
commit 45a7d29b06
4 changed files with 8 additions and 1 deletions

View File

@ -2,11 +2,13 @@
image: alpine/edge image: alpine/edge
packages: packages:
- go - go
- notmuch-dev
- scdoc - scdoc
sources: sources:
- "https://git.sr.ht/~rjarry/aerc" - "https://git.sr.ht/~rjarry/aerc"
environment: environment:
DESTDIR: ./out DESTDIR: ./out
GOFLAGS: "-tags=notmuch"
tasks: tasks:
- checkfmt: | - checkfmt: |
cd aerc cd aerc

View File

@ -2,11 +2,13 @@
image: debian/stable image: debian/stable
packages: packages:
- golang - golang
- libnotmuch-dev
- scdoc - scdoc
sources: sources:
- "https://git.sr.ht/~rjarry/aerc" - "https://git.sr.ht/~rjarry/aerc"
environment: environment:
DESTDIR: ./out DESTDIR: ./out
GOFLAGS: "-tags=notmuch"
tasks: tasks:
- build: | - build: |
cd aerc cd aerc

View File

@ -2,11 +2,13 @@
image: fedora/latest image: fedora/latest
packages: packages:
- golang - golang
- notmuch-devel
- scdoc - scdoc
sources: sources:
- "https://git.sr.ht/~rjarry/aerc" - "https://git.sr.ht/~rjarry/aerc"
environment: environment:
DESTDIR: ./out DESTDIR: ./out
GOFLAGS: "-tags=notmuch"
tasks: tasks:
- build: | - build: |
cd aerc cd aerc

View File

@ -6,10 +6,11 @@ jobs:
runs-on: macos-latest runs-on: macos-latest
env: env:
DESTDIR: ./out DESTDIR: ./out
GOFLAGS: "-tags=notmuch"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
- run: brew install scdoc - run: brew install notmuch scdoc
- run: make - run: make
- run: make install - run: make install
- run: make checkinstall - run: make checkinstall