2022-07-30 10:18:39 +00:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths-ignore:
|
2022-07-30 10:22:54 +00:00
|
|
|
- '**.org'
|
2022-07-30 10:18:39 +00:00
|
|
|
pull_request:
|
|
|
|
paths-ignore:
|
2022-07-30 10:22:54 +00:00
|
|
|
- '**.org'
|
2022-07-30 10:18:39 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
emacs_version:
|
2022-07-30 10:22:54 +00:00
|
|
|
- 28.1
|
2022-07-30 10:18:39 +00:00
|
|
|
- 27.2
|
|
|
|
- 26.3
|
|
|
|
- 25.3
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Set up Emacs
|
|
|
|
uses: purcell/setup-emacs@master
|
|
|
|
with:
|
|
|
|
version: ${{matrix.emacs_version}}
|
|
|
|
|
|
|
|
- name: Install Eldev
|
|
|
|
run: curl -fsSL https://raw.github.com/doublep/eldev/master/webinstall/github-eldev | sh
|
|
|
|
|
|
|
|
- name: Check out the elisp source code
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Test the uncompiled source
|
|
|
|
run: |
|
|
|
|
eldev -p -dtT test
|
|
|
|
|
|
|
|
- name: Compile and run tests again
|
|
|
|
run: |
|
|
|
|
eldev compile
|
|
|
|
eldev -p -dtT test
|