@@ -35,18 +35,18 @@ orbs:
35
35
steps :
36
36
- run :
37
37
name : Init opam
38
- shell : C:/tools/cygwin/bin/bash.exe --noprofile --norc -eo pipefail
38
+ shell : C:/tools/cygwin/bin/bash.exe -leo pipefail
39
39
command : |
40
- export PATH=$PATH:/usr/local/bin:/usr/bin
41
40
[ -d ~/.opam ] || opam init default 'https://github.com/fdopen/opam-repository-mingw.git#opam2' --bare --disable-sandboxing
42
41
create_switch :
43
42
steps :
44
43
- run :
45
44
name : Create opam switch
46
- shell : C:/tools/cygwin/bin/bash.exe --noprofile --norc -eo pipefail
45
+ shell : C:/tools/cygwin/bin/bash.exe -leo pipefail
47
46
environment :
48
47
PATH : /usr/local/bin:/usr/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0
49
48
command : |
49
+ cd /cygdrive/c/Users/circleci/project
50
50
[ -d _opam ] || opam switch create . ocaml-variants.4.06.1+mingw64c --deps-only --yes -vvv
51
51
52
52
executors :
@@ -206,39 +206,42 @@ jobs:
206
206
at : ./artifacts
207
207
- run :
208
208
name : Check node / npm version
209
- shell : C:/tools/cygwin/bin/bash.exe --noprofile --norc -eo pipefail
209
+ shell : C:/tools/cygwin/bin/bash.exe -leo pipefail
210
210
environment :
211
211
PATH : /cygdrive/c/Program Files/nodejs:/usr/local/bin:/usr/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0
212
212
command : |
213
+ cd /cygdrive/c/Users/circleci/project
213
214
pwd
214
215
ls -l
215
216
echo "Versions"
216
217
node --version
217
218
npm --version
218
219
- restore_cache :
219
220
keys :
220
- - v0 -opam-cache-{{ arch }}
221
+ - v2 -opam-cache-{{ arch }}
221
222
- opam_windows/init
222
223
- opam_windows/create_switch
223
224
- run :
224
225
name : Install opam dev dependencies
225
- shell : C:/tools/cygwin/bin/bash.exe --noprofile --norc -eo pipefail
226
+ shell : C:/tools/cygwin/bin/bash.exe -leo pipefail
226
227
environment :
227
228
PATH : /cygdrive/c/Program Files/nodejs:/usr/local/bin:/usr/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0
228
229
command : |
230
+ cd /cygdrive/c/Users/circleci/project
229
231
eval $(opam env)
230
232
opam install reason.3.6.0 dune.1.11.4 ocaml-migrate-parsetree.1.3.1 ppx_tools_versioned uri --yes | cat
231
233
- save_cache :
232
- key : v0 -opam-cache-{{ arch }}
234
+ key : v2 -opam-cache-{{ arch }}
233
235
paths :
234
236
- C:/tools/cygwin/home/circleci/.opam
235
237
- _opam
236
238
- run :
237
239
name : Build & Test
238
- shell : C:/tools/cygwin/bin/bash.exe --noprofile --norc -eo pipefail
240
+ shell : C:/tools/cygwin/bin/bash.exe -leo pipefail
239
241
environment :
240
242
PATH : /cygdrive/c/Program Files/nodejs:/usr/local/bin:/usr/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0
241
243
command : |
244
+ cd /cygdrive/c/Users/circleci/project
242
245
eval $(opam env)
243
246
dune build
244
247
./_build/install/default/bin/rescript-editor-support.exe --help
0 commit comments