-
-
Notifications
You must be signed in to change notification settings - Fork 645
/
Copy pathconfig.yml
160 lines (147 loc) · 3.67 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
version: 2.1
orbs:
win: circleci/windows@2.2.0
shellcheck: circleci/shellcheck@3.2.0
# Default actions to perform on each Emacs version
commands:
setup:
steps:
- checkout
- run:
name: Install Eldev
command: curl -fsSL https://raw.github.com/doublep/eldev/master/webinstall/circle-eldev > x.sh && source ./x.sh
- run:
name: Install unzip
command: apt-get update && apt-get install unzip
macos-setup:
steps:
- checkout
- run:
name: Install Emacs latest
command: |
brew install homebrew/cask/emacs
- run:
name: Install Eldev
command: curl -fsSL https://raw.github.com/doublep/eldev/master/webinstall/circle-eldev > x.sh && source ./x.sh
setup-windows:
steps:
- checkout
- run:
name: Install Eldev
command: |
# Remove expired DST Root CA X3 certificate. Workaround
# for https://debbugs.gnu.org/cgi/bugreport.cgi?bug=51038
# bug on Emacs 27.2.
gci cert:\LocalMachine\Root\DAC9024F54D8F6DF94935FB1732638CA6AD77C13
gci cert:\LocalMachine\Root\DAC9024F54D8F6DF94935FB1732638CA6AD77C13 | Remove-Item
(iwr https://raw.github.com/doublep/eldev/master/webinstall/circle-eldev.ps1).Content | powershell -command -
test:
steps:
- run:
name: Run regression tests
command: eldev -dtT -p test
lint:
steps:
- run:
name: Run Elisp-lint
command: eldev lint -c
- run:
name: Byte-compile .el files
command: eldev -dtT compile --warnings-as-errors
jobs:
test-ubuntu-emacs-26:
docker:
- image: silex/emacs:26-ci
entrypoint: bash
steps:
- setup
- test
test-ubuntu-emacs-27:
docker:
- image: silex/emacs:27-ci
entrypoint: bash
steps:
- setup
- test
test-ubuntu-emacs-28:
docker:
- image: silex/emacs:28-ci
entrypoint: bash
steps:
- setup
- test
test-ubuntu-emacs-29:
docker:
- image: silex/emacs:29-ci
entrypoint: bash
steps:
- setup
- test
test-ubuntu-emacs-master:
docker:
- image: silex/emacs:master-ci
entrypoint: bash
steps:
- setup
- test
test-macos-emacs-latest:
macos:
xcode: "14.0.0"
steps:
- macos-setup
- test
test-windows-emacs-latest:
executor: win/default
steps:
- run:
name: Install Emacs latest
command: |
choco install emacs -y
- setup-windows
- test
test-shellcheck:
docker:
- image: circleci/clojure:openjdk-17-lein-2.9.5-buster
steps:
- checkout
- shellcheck/install
- shellcheck/check
test-lint:
docker:
- image: silex/emacs:28-ci
steps:
- setup
- lint
workflows:
version: 2.1
ci-test-matrix:
jobs:
- test-shellcheck
- test-lint
- test-ubuntu-emacs-26:
requires:
- test-lint
- test-shellcheck
- test-ubuntu-emacs-27:
requires:
- test-lint
- test-shellcheck
- test-ubuntu-emacs-28:
requires:
- test-lint
- test-shellcheck
- test-ubuntu-emacs-29:
requires:
- test-lint
- test-shellcheck
- test-ubuntu-emacs-master:
requires:
- test-lint
- test-shellcheck
- test-windows-emacs-latest:
requires:
- test-lint
- test-shellcheck
- test-macos-emacs-latest:
requires:
- test-ubuntu-emacs-28