Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit c5d7d4f

Browse files
author
Reini Urban
committed
windows smoke: add t/appveyor-smoke.bat
with a little help from @nwellnhof and @bulk88. for now 64bit only, with msvc10 and 12. Both smoke now and found the #78 Config.xs syntax error.
1 parent 35e5d0c commit c5d7d4f

File tree

2 files changed

+34
-8
lines changed

2 files changed

+34
-8
lines changed

appveyor.yml

+17-8
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,26 @@
11
version: 5.22.2.{build}
22
skip_tags: true
33
#os: MinGW
4-
os: Visual Studio 2015
4+
#os: Visual Studio 2015
55
#build:
66
# verbosity: minimal
77
# - x86
88
platform:
99
- x64
10+
environment:
11+
matrix:
12+
- MSVC_VERSION: 10
13+
- MSVC_VERSION: 12
1014
clone_depth: 1
1115
init:
1216
- git config --global core.autocrlf input
1317

18+
# from https://github.com/apache/lucy-clownfish/blob/master/appveyor.yml
19+
build: off
20+
21+
test_script:
22+
- 't\appveyor-smoke.bat'
23+
1424
# nope: https://ci.appveyor.com/project/rurban/cperl/build/job/ui7b0dk0gprw1eo2
1525
# - cinst ruby.devkit
1626
# - cinst make
@@ -27,13 +37,12 @@ init:
2737
# the required amd64 line forbids us to use 32bit
2838
# see https://github.com/osmcode/libosmium/blob/master/appveyor.yml
2939
# we could try to make both one after the other
30-
build_script:
31-
- cd win32
32-
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
33-
- nmake WIN64=1 CCTYPE=MSVC120
34-
test_script:
35-
- nmake test TEST_JOBS=4
36-
40+
#build_script:
41+
# - cd win32
42+
# - call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
43+
# - nmake WIN64=1 CCTYPE=MSVC120
44+
#test_script:
45+
# - nmake test TEST_JOBS=4
3746

3847
notifications:
3948
- provider: Email

t/appveyor-smoke.bat

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
@echo off
2+
3+
if "%MSVC_VERSION%" == "10" goto msvc_10
4+
if "%MSVC_VERSION%" == "12" goto msvc_12
5+
6+
:msvc_12
7+
call "C:\Program Files (x86)\Microsoft Visual Studio %MSVC_VERSION%.0\VC\vcvarsall.bat" amd64
8+
cd win32
9+
nmake CCTYPE=MSVC120 && nmake test TEST_JOBS=4 || exit /b
10+
exit /b
11+
12+
:msvc_10
13+
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
14+
cd win32
15+
nmake CCTYPE=MSVC100 && nmake test TEST_JOBS=4 || exit /b
16+
exit /b
17+

0 commit comments

Comments
 (0)