Skip to content

Commit

Permalink
CI: Fix compilation errors caused by Emacs version mismatch
Browse files Browse the repository at this point in the history
* .github/workflows/build.yml: Configure mu4e build with the same
Emacs version that we use later for compilation.
  • Loading branch information
mkcms committed Oct 3, 2024
1 parent 3d6e24c commit 610d075
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,15 @@ 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
sudo apt-get build-dep maildir-utils
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
Expand Down

0 comments on commit 610d075

Please sign in to comment.