@@ -2,6 +2,9 @@ version: 2.1
2
2
3
3
# Default settings for executors
4
4
5
+ orbs :
6
+
7
+
5
8
defaults : &defaults
6
9
working_directory : ~/repo
7
10
environment :
@@ -81,6 +84,13 @@ commands:
81
84
- base-src-jdk23.zip
82
85
key : cache-<< parameters.cache_version >>-{{ checksum "/tmp/clojure_cache_seed" }}
83
86
87
+ setup-windows :
88
+ steps :
89
+ - checkout
90
+ - run :
91
+ name : Install Leiningen
92
+ command : choco install lein
93
+
84
94
jobs :
85
95
86
96
lint :
@@ -162,6 +172,18 @@ jobs:
162
172
name : Running tests (make << parameters.command >>)
163
173
command : make << parameters.command >>
164
174
175
+ test_windows :
176
+ description : |
177
+ Run tests on MS-Windows using the system's JDK version and Clojure 1.12.
178
+ executor : win/default
179
+ steps :
180
+ - setup-windows
181
+ - run :
182
+ name : Running tests on Windows
183
+ command : |
184
+ java -version; if(-not $?){exit 9}
185
+ lein with-profile "-user,-dev,+test,+cljs,+1.12" test; if(-not $?){exit 9}
186
+
165
187
# The ci-test-matrix does the following:
166
188
#
167
189
# - run tests against the target matrix
@@ -195,6 +217,8 @@ workflows:
195
217
clojure_version : ["1.12"]
196
218
command : ["test-no-extra-deps"]
197
219
<< : *run_always
220
+ - test_windows :
221
+ << : *run_always
198
222
# Eastwood output partly depends on JDK version it is run on,
199
223
# so selectively test with several versions of those.
200
224
- eastwood :
@@ -209,6 +233,7 @@ workflows:
209
233
requires :
210
234
- test
211
235
- test_no_extra_deps
236
+ - test_windows
212
237
- eastwood
213
238
- lint
214
239
filters :
0 commit comments