forked from aantron/bisect_ppx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
30 lines (21 loc) · 966 Bytes
/
appveyor.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
version: "{build}"
shallow_clone: true
environment:
global:
ARCH: x86_64
install:
- SET CYGSH=C:\Cygwin64\bin\bash -lc
- SET CYGSETUP=C:\Cygwin64\setup-x86_64
- '%CYGSETUP% -q -P rsync -P patch -P diffutils -P make -P unzip -P m4'
- '%CYGSH% "wget https://github.com/fdopen/opam-repository-mingw/releases/download/0.0.0.2/opam64.tar.xz"'
- '%CYGSH% "tar -xf opam64.tar.xz"'
- '%CYGSH% "bash opam64/install.sh"'
- '%CYGSH% "opam init default https://github.com/fdopen/opam-repository-mingw.git#opam2 -c ocaml-variants.4.07.1+mingw64c --disable-sandboxing --yes --auto-setup"'
- '%CYGSH% "cd /cygdrive/c/projects/bisect-ppx && eval `opam config env` && opam pin add -yn bisect_ppx . && opam install -y --deps-only bisect_ppx"'
build_script:
- '%CYGSH% "cd /cygdrive/c/projects/bisect-ppx && eval `opam config env` && make"'
branches:
except:
- binaries
cache:
- C:\Cygwin64\home\appveyor\.opam -> bisect_ppx.opam, appveyor.yml