File tree 5 files changed +88
-14
lines changed
5 files changed +88
-14
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : github-actions
4
+ directory : /
5
+ schedule :
6
+ interval : daily
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
+ workflow_dispatch :
9
+
10
+ concurrency :
11
+ group : ${{ github.workflow }}-${{ github.ref }}
12
+ cancel-in-progress : true
13
+
14
+ jobs :
15
+ test :
16
+ runs-on : ${{ matrix.os }}
17
+ continue-on-error : ${{ matrix.experimental }}
18
+ strategy :
19
+ fail-fast : false
20
+ matrix :
21
+ os : [ubuntu-latest, macos-latest, windows-latest]
22
+ emacs-version :
23
+ - 26.3
24
+ - 27.2
25
+ - 28.2
26
+ - 29.1
27
+ experimental : [false]
28
+ include :
29
+ - os : ubuntu-latest
30
+ emacs-version : snapshot
31
+ experimental : true
32
+ - os : macos-latest
33
+ emacs-version : snapshot
34
+ experimental : true
35
+ - os : windows-latest
36
+ emacs-version : snapshot
37
+ experimental : true
38
+
39
+ steps :
40
+ - uses : actions/checkout@v4
41
+
42
+ - uses : jcs090218/setup-emacs@master
43
+ with :
44
+ version : ${{ matrix.emacs-version }}
45
+
46
+ - uses : emacs-eask/setup-eask@master
47
+ with :
48
+ version : ' snapshot'
49
+
50
+ - name : Run tests
51
+ run : make ci
Original file line number Diff line number Diff line change 2
2
* ~
3
3
/* -autoloads.el
4
4
/.cask /
5
+ /.eask /
6
+ /dist
Original file line number Diff line number Diff line change
1
+ (package "muldoc"
2
+ "0.4.0"
3
+ "Multi ElDoc integration")
4
+
5
+ (website-url "https://github.com/emacs-php/muldoc")
6
+ (keywords "tools" "extension")
7
+
8
+ (package-file "muldoc.el")
9
+
10
+ (script "test" "echo \"Error: no test specified\" && exit 1")
11
+
12
+ (source 'gnu)
13
+
14
+ (depends-on "emacs" "25.1")
15
+
16
+ (setq network-security-level 'low) ; see https://github.com/jcs090218/setup-emacs-windows/issues/156#issuecomment-932956432
Original file line number Diff line number Diff line change 1
1
EMACS ?= emacs
2
- ELS = muldoc.el
3
- AUTOLOADS = muldoc-autoloads.el
4
- ELCS = $(ELS:.el=.elc )
2
+ EASK ?= eask
5
3
6
- % .elc : % .el
7
- $(EMACS ) -Q -batch -L . -f batch-byte-compile $<
4
+ install :
5
+ $(EASK ) package
6
+ $(EASK ) install
8
7
9
- all : autoloads $(ELCS )
8
+ compile :
9
+ $(EASK ) compile
10
10
11
- autoloads : $( AUTOLOADS )
11
+ ci : clean autoloads install compile
12
12
13
- $(AUTOLOADS ) : $(ELS )
14
- $(EMACS ) -Q -batch -L . --eval \
15
- " (progn \
16
- (require ' package) \
17
- (package-generate-autoloads \" muldoc\" default-directory))"
13
+ all : autoloads compile
14
+
15
+ autoloads :
16
+ $(EASK ) generate autoloads
18
17
19
18
clean :
20
- rm -f $( ELCS ) $( AUTOLOADS )
19
+ $( EASK ) clean all
21
20
22
21
test : clean all
23
- $(EMACS ) -Q -batch -L . -l tests/muldoc-test.el -f ert-run-tests-batch-and-exit
22
+ $(EASK ) test ert tests/muldoc-test.el
You can’t perform that action at this time.
0 commit comments