Skip to content

Adding Emacs 29.1 to workflows #21

Adding Emacs 29.1 to workflows

Adding Emacs 29.1 to workflows #21

name: Wucuo
on:
push:
paths-ignore:
- '**.gif'
pull_request:
paths-ignore:
- '**.gif'
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
emacs_version:
- 27.2
- 29.1
steps:
- uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs_version }}
- uses: actions/checkout@v2
- name: Print emacs version
run: emacs --version
- name: Install dependency
run: sudo apt install aspell aspell-en
- name: Install Wucuo
run: mkdir -p wucuo &&
curl -fsSL https://raw.githubusercontent.com/redguardtoo/wucuo/master/wucuo.el > wucuo/wucuo.el &&
curl -fsSL https://raw.githubusercontent.com/redguardtoo/wucuo/master/wucuo-sdk.el > wucuo/wucuo-sdk.el &&
curl -fsSL https://raw.githubusercontent.com/redguardtoo/wucuo/master/wucuo-flyspell-html-verify.el &&
curl -fsSL https://raw.githubusercontent.com/redguardtoo/wucuo/master/wucuo-flyspell-org-verify.el > wucuo/wucuo-flyspell-org-verify.el
- name: Wucuo
run: |
emacs -batch -Q -L wucuo/ -l .github/.wucuo.el --eval '(let* ((ispell-program-name "aspell") (ispell-extra-args (wucuo-aspell-cli-args t))) (wucuo-spell-check-directory "." t))'