From 610d075e9e05a82c7e3328a4a43362cd77843625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Krzywkowski?= Date: Thu, 3 Oct 2024 09:30:07 +0200 Subject: [PATCH] CI: Fix compilation errors caused by Emacs version mismatch * .github/workflows/build.yml: Configure mu4e build with the same Emacs version that we use later for compilation. --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 32eaf02..b4c3e37 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,6 +30,7 @@ jobs: - name: Install mu4e run: | + emacs=`which emacs` sudo sed -i 's/^Types: deb/Types: deb deb-src/' /etc/apt/sources.list.d/* sudo apt-get update sudo apt-get install git meson emacs @@ -37,7 +38,7 @@ jobs: cd /usr/local/src sudo git clone https://github.com/djcb/mu.git cd mu - sudo ./autogen.sh && sudo make && sudo make install + sudo ./autogen.sh -Demacs=$emacs && sudo make && sudo make install - name: Compile run: make compile USE_SYSTEM_MU4E=1