File tree Expand file tree Collapse file tree 3 files changed +74
-1
lines changed
Expand file tree Collapse file tree 3 files changed +74
-1
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+
9+ jobs :
10+ unix-test :
11+ runs-on : ubuntu-latest
12+ strategy :
13+ matrix :
14+ emacs-version :
15+ - 27.2
16+ - snapshot
17+
18+ steps :
19+ - uses : actions/checkout@v2
20+
21+ - uses : actions/setup-python@v2
22+ with :
23+ python-version : " 3.6"
24+ architecture : " x64"
25+
26+ - uses : purcell/setup-emacs@master
27+ with :
28+ version : ${{ matrix.emacs-version }}
29+
30+ - uses : cask/setup-cask@master
31+ with :
32+ version : 0.8.4
33+
34+ - name : Setup cmake
35+ 36+ with :
37+ cmake-version : ' 3.18.x'
38+
39+ - name : Check cmake
40+ run : " cmake --version"
41+
42+ - name : Run tests
43+ run :
44+ make unix-ci
Original file line number Diff line number Diff line change 1+ SHELL := /usr/bin/env bash
2+
3+ EMACS ?= emacs
4+ CASK ?= cask
5+
6+ PKG-FILES := multi-shell.el
7+
8+ TEST-FILES := $(shell ls test/multi-shell-* .el)
9+
10+ .PHONY : clean checkdoc lint unix-build unix-compile unix-test
11+
12+ unix-ci : clean unix-build unix-compile
13+
14+ unix-build :
15+ $(CASK ) install
16+
17+ unix-compile :
18+ @echo " Compiling..."
19+ @$(CASK ) $(EMACS ) -Q --batch \
20+ -L . \
21+ --eval ' (setq byte-compile-error-on-warn t)' \
22+ -f batch-byte-compile $(PKG-FILES )
23+
24+ unix-test :
25+ @echo " Testing..."
26+ $(CASK ) exec ert-runner -L . $(LOAD-TEST-FILES ) -t ' !no-win' -t ' !org'
27+
28+ clean :
29+ rm -rf .cask * .elc
Original file line number Diff line number Diff line change 1- [ ![ Build Status] ( https://travis-ci.com/jcs-elpa/multi-shell.svg?branch=master )] ( https://travis-ci.com/jcs-elpa/multi-shell )
21[ ![ License: GPL v3] ( https://img.shields.io/badge/License-GPL%20v3-blue.svg )] ( https://www.gnu.org/licenses/gpl-3.0 )
2+ [ ![ CI] ( https://github.com/jcs-elpa/multi-shell/actions/workflows/test.yml/badge.svg )] ( https://github.com/jcs-elpa/multi-shell/actions/workflows/test.yml )
33
44# multi-shell
55> Managing multiple shell buffers.
You can’t perform that action at this time.
0 commit comments