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.  Drop Emacs-26.3
build.
  • Loading branch information
mkcms committed Oct 3, 2024
1 parent 3d6e24c commit 8f07653
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fail-fast: false
matrix:
emacs_version:
- '26.3'
# - '26.3' # It might be supported, but CI build fails.
- '27.1'
- '28.2'
- '29.3'
Expand All @@ -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 8f07653

Please sign in to comment.