doom-modeline/.github/workflows/ci.yml

50 lines
869 B
YAML
Raw Normal View History

2020-08-04 15:26:27 +08:00
name: CI
2020-08-31 01:43:17 +08:00
on: [push, pull_request]
2020-08-04 15:26:27 +08:00
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
emacs-version:
- 25.1
- 25.2
- 25.3
- 26.1
- 26.2
- 26.3
2020-08-11 15:56:28 +08:00
- 27.1
2020-08-04 15:26:27 +08:00
- snapshot
steps:
- name: setenv
run: echo "ACTIONS_ALLOW_UNSECURE_COMMANDS=true" >> $GITHUB_ENV
2020-08-04 15:26:27 +08:00
- uses: actions/checkout@v1
2021-03-25 15:25:58 +08:00
- uses: actions/setup-python@v2
2020-08-04 15:26:27 +08:00
with:
python-version: '3.6'
architecture: 'x64'
- uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs-version }}
- uses: conao3/setup-cask@master
with:
2021-03-25 15:25:58 +08:00
version: 0.8.6
2020-08-04 15:26:27 +08:00
- name: install
run: 'cask install'
- name: test
run: 'cask exec ert-runner'
- name: build
run: 'cask build'
2021-03-25 15:25:58 +08:00
- name: package
run: 'cask package'