34 lines
750 B
YAML
34 lines
750 B
YAML
name: CI
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
emacs_version:
|
|
- '27.1'
|
|
- 'snapshot'
|
|
include:
|
|
- emacs_version: 'snapshot'
|
|
allow_failure: true
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: purcell/setup-emacs@master
|
|
with:
|
|
version: ${{ matrix.emacs_version }}
|
|
|
|
- name: Set up emacs config
|
|
run: |
|
|
mkdir ~/.emacs.d
|
|
cp -a -r etc local straight init.el ~/.emacs.d/
|
|
|
|
- name: Test initialization and build
|
|
run: |
|
|
emacs -batch -l "~/.emacs.d/init.el"
|
|
|
|
- name: Verify dependencies
|
|
run: |
|
|
emacs -batch -l "~/.emacs.d/init.el" --eval '(assert (nd/verify-required-packages))'
|
|
|