forked from ocaml/ocaml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
62 lines (53 loc) · 2.13 KB
/
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
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
#**************************************************************************
#* *
#* OCaml *
#* *
#* Christophe Troestler *
#* *
#* Copyright 2015 Christophe Troestler *
#* *
#* All rights reserved. This file is distributed under the terms of *
#* the GNU Lesser General Public License version 2.1, with the *
#* special exception on linking described in the file LICENSE. *
#* *
#**************************************************************************
# Compile the 64 bits version
platform:
- x64
image: Visual Studio 2022
# Do a shallow clone of the repo to speed up the build
clone_depth: 1
environment:
global:
CYG_ROOT: C:/cygwin64
CYG_MIRROR: http://mirrors.kernel.org/sourceware/cygwin/
CYG_CACHE: C:/cygwin64/var/cache/setup
FLEXDLL_VERSION: 0.39
OCAMLRUNPARAM: v=0,b
FORCE_CYGWIN_UPGRADE: 0
BUILD_MODE: world.opt
matrix:
- PORT: mingw64
BOOTSTRAP_FLEXDLL: true
# OCaml 5.0 does not yet support MSVC
# - PORT: msvc64
# BOOTSTRAP_FLEXDLL: false
# BUILD_MODE: steps
# - PORT: msvc32
# BOOTSTRAP_FLEXDLL: false
# BUILD_MODE: C
# SDK: |-
# "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x86
matrix:
fast_finish: true
cache:
- C:\cygwin64\var\cache\setup
- C:\projects\cache
install:
# This is a hangover from monitoring effects of MPR#7452
- wmic cpu get name
- call "%APPVEYOR_BUILD_FOLDER%\tools\ci\appveyor\appveyor_build.cmd" install
build_script:
- call "%APPVEYOR_BUILD_FOLDER%\tools\ci\appveyor\appveyor_build.cmd" build
test_script:
- call "%APPVEYOR_BUILD_FOLDER%\tools\ci\appveyor\appveyor_build.cmd" test