2023-12-06 18:49:59 +00:00
|
|
|
name: CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2023-12-29 15:20:31 +00:00
|
|
|
runs-on: ubuntu-latest
|
2023-12-06 18:49:59 +00:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
emacs_version:
|
2023-12-29 15:20:31 +00:00
|
|
|
- 26.3
|
|
|
|
- 27.2
|
|
|
|
- 28.2
|
|
|
|
- 29.1
|
|
|
|
- snapshot
|
2023-12-06 18:49:59 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
2023-12-29 15:20:31 +00:00
|
|
|
|
|
|
|
- uses: actions/cache@v3
|
|
|
|
id: cache-nix-conf
|
|
|
|
with:
|
|
|
|
path: /etc/nix
|
|
|
|
key: cache-nix-conf-000
|
|
|
|
|
|
|
|
- uses: actions/cache@v3
|
|
|
|
id: cache-nix-packages
|
|
|
|
with:
|
|
|
|
path: /nix
|
|
|
|
key: cache-nix-packages-000
|
|
|
|
|
|
|
|
- uses: purcell/setup-emacs@master
|
|
|
|
with:
|
|
|
|
version: ${{ matrix.emacs_version }}
|
|
|
|
|
|
|
|
- uses: actions/cache@v3
|
|
|
|
id: cache-eask-packages
|
|
|
|
with:
|
|
|
|
path: .eask
|
|
|
|
key: cache-eask-packages-000
|
|
|
|
|
|
|
|
- uses: emacs-eask/setup-eask@master
|
|
|
|
with:
|
|
|
|
version: 'snapshot'
|
|
|
|
|
2023-12-06 18:49:59 +00:00
|
|
|
- name: "Execute Eask CI"
|
|
|
|
run: make ci
|