41 lines
782 B
YAML
41 lines
782 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
paths-ignore:
|
|
- '**.org'
|
|
pull_request:
|
|
paths-ignore:
|
|
- '**.org'
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
emacs_version:
|
|
- 28.1
|
|
- 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
|