Skip to content

Commit 2426904

Browse files
committed
Update AppVeyor scripts
- VS 2022 - OCaml 5.1 - Cygwin setup x86_64 - FlexDLL 0.43
1 parent f5ccd97 commit 2426904

1 file changed

Lines changed: 11 additions & 8 deletions

File tree

appveyor.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
platform:
22
- x64
33

4-
image: Visual Studio 2015
4+
image: Visual Studio 2022
55

66
environment:
77
global:
@@ -10,6 +10,7 @@ environment:
1010
CYG_CACHE: C:/cygwin/var/cache/setup
1111
OCAML_PORT: msvc64
1212
ARTEFACTS: no
13+
FLEXDLL_VERSION: 0.43
1314
matrix:
1415
- OCAMLBRANCH: 3.11
1516
- OCAMLBRANCH: 3.12
@@ -36,6 +37,8 @@ environment:
3637
SKIP_OCAML_TEST: no
3738
- OCAMLBRANCH: 5.0
3839
OCAML_PORT: mingw64
40+
- OCAMLBRANCH: 5.1
41+
OCAML_PORT: mingw64
3942
SKIP_OCAML_TEST: no
4043
- OCAMLBRANCH: trunk
4144
OCAML_PORT: mingw64
@@ -50,14 +53,14 @@ install:
5053
# cygpath behaves crazily), but after the MSVC one.
5154
- set Path=C:\cygwin\bin;%OCAMLROOT%\bin;C:\flexdll;%Path%
5255
- '%CYG_ROOT%\bin\bash -lc "cygcheck -dc cygwin"'
53-
- if exist "%CYG_ROOT%\setup-x86.exe" del "%CYG_ROOT%\setup-x86.exe"
54-
- appveyor DownloadFile "https://cygwin.com/setup-x86.exe" -FileName "%CYG_ROOT%\setup-x86.exe"
55-
- '"%CYG_ROOT%\setup-x86.exe" --quiet-mode --no-shortcuts --no-startmenu --no-desktop --only-site --root "%CYG_ROOT%" --site "%CYG_MIRROR%" --local-package-dir "%CYG_CACHE%" --packages cygwin64-gcc-core,unzip,zip > nul'
56-
- '%CYG_ROOT%\bin\bash -lc "x86_64-pc-cygwin-gcc --version" > nul || "%CYG_ROOT%\setup-x86.exe" --quiet-mode --no-shortcuts --no-startmenu --no-desktop --only-site --root "%CYG_ROOT%" --site "%CYG_MIRROR%" --local-package-dir "%CYG_CACHE%" --upgrade-also > nul'
56+
- if exist "%CYG_ROOT%\setup-x86_64.exe" del "%CYG_ROOT%\setup-x86_64.exe"
57+
- appveyor DownloadFile "https://cygwin.com/setup-x86_64.exe" -FileName "%CYG_ROOT%\setup-x86_64.exe"
58+
- '"%CYG_ROOT%\setup-x86_64.exe" --quiet-mode --no-shortcuts --no-startmenu --no-desktop --only-site --root "%CYG_ROOT%" --site "%CYG_MIRROR%" --local-package-dir "%CYG_CACHE%" --packages cygwin64-gcc-core,unzip,zip > nul'
59+
- '%CYG_ROOT%\bin\bash -lc "x86_64-pc-cygwin-gcc --version" > nul || "%CYG_ROOT%\setup-x86_64.exe" --quiet-mode --no-shortcuts --no-startmenu --no-desktop --only-site --root "%CYG_ROOT%" --site "%CYG_MIRROR%" --local-package-dir "%CYG_CACHE%" --upgrade-also > nul'
5760
- '%CYG_ROOT%\bin\bash -lc "cygcheck -dc cygwin"'
58-
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\vcvars64.bat"
59-
- appveyor DownloadFile "https://github.com/alainfrisch/flexdll/archive/0.37.tar.gz" -FileName "flexdll.tar.gz"
60-
- appveyor DownloadFile "https://github.com/alainfrisch/flexdll/releases/download/0.37/flexdll-bin-0.37.zip" -FileName "flexdll.zip"
61+
- call "C:\Program Files (x86)\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"
62+
- appveyor DownloadFile "https://github.com/ocaml/flexdll/archive/%FLEXDLL_VERSION%.tar.gz" -FileName "flexdll.tar.gz"
63+
- appveyor DownloadFile "https://github.com/ocaml/flexdll/releases/download/%FLEXDLL_VERSION%/flexdll-bin-%FLEXDLL_VERSION%.zip" -FileName "flexdll.zip"
6164
- appveyor DownloadFile "https://raw.githubusercontent.com/ocaml/ocaml/trunk/tools/msvs-promote-path" -FileName "msvs-promote-path"
6265

6366
build_script:

0 commit comments

Comments
 (0)