From 45a7d29b06c6bd2f6cf9af2d08eae47b218193cf Mon Sep 17 00:00:00 2001 From: Robin Jarry Date: Thu, 14 Apr 2022 21:28:18 +0200 Subject: [PATCH] builds: test with notmuch This is never tested. Let's check that it compiles at least. Signed-off-by: Robin Jarry --- .builds/alpine-edge.yml | 2 ++ .builds/debian-stable.yml | 2 ++ .builds/fedora-latest.yml | 2 ++ .github/workflows/macos.yml | 3 ++- 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.builds/alpine-edge.yml b/.builds/alpine-edge.yml index e256f61..08d888a 100644 --- a/.builds/alpine-edge.yml +++ b/.builds/alpine-edge.yml @@ -2,11 +2,13 @@ image: alpine/edge packages: - go + - notmuch-dev - scdoc sources: - "https://git.sr.ht/~rjarry/aerc" environment: DESTDIR: ./out + GOFLAGS: "-tags=notmuch" tasks: - checkfmt: | cd aerc diff --git a/.builds/debian-stable.yml b/.builds/debian-stable.yml index 88961f1..1cc4d0a 100644 --- a/.builds/debian-stable.yml +++ b/.builds/debian-stable.yml @@ -2,11 +2,13 @@ image: debian/stable packages: - golang + - libnotmuch-dev - scdoc sources: - "https://git.sr.ht/~rjarry/aerc" environment: DESTDIR: ./out + GOFLAGS: "-tags=notmuch" tasks: - build: | cd aerc diff --git a/.builds/fedora-latest.yml b/.builds/fedora-latest.yml index 0e0cade..67a3b14 100644 --- a/.builds/fedora-latest.yml +++ b/.builds/fedora-latest.yml @@ -2,11 +2,13 @@ image: fedora/latest packages: - golang + - notmuch-devel - scdoc sources: - "https://git.sr.ht/~rjarry/aerc" environment: DESTDIR: ./out + GOFLAGS: "-tags=notmuch" tasks: - build: | cd aerc diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 19acb28..55a9908 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -6,10 +6,11 @@ jobs: runs-on: macos-latest env: DESTDIR: ./out + GOFLAGS: "-tags=notmuch" steps: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 - - run: brew install scdoc + - run: brew install notmuch scdoc - run: make - run: make install - run: make checkinstall