Skip to content

Commit

Permalink
[test] add osx and windows smokers
Browse files Browse the repository at this point in the history
  • Loading branch information
Reini Urban committed Dec 13, 2015
1 parent f2609d8 commit 3b8c117
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Expand Up @@ -3,6 +3,9 @@ perl:
- "5.20"
install: "echo"
sudo: false
os:
- linux
- osx
addons:
apt:
packages:
Expand Down
1 change: 1 addition & 0 deletions MANIFEST
Expand Up @@ -2180,6 +2180,7 @@ tools/dev/.gdbinit []
tools/dev/README.pod []doc
tools/dev/addopstags.pl []
tools/dev/all_hll_test.pl []
tools/dev/appveyor-smoke.bat []
tools/dev/as2c.pl []
tools/dev/bench_op.pir []
tools/dev/create_language.pl [devel]
Expand Down
49 changes: 49 additions & 0 deletions appveyor.yml
@@ -0,0 +1,49 @@
version: 5.22.2.{build}
skip_tags: true
#os: MinGW
#os: Visual Studio 2015
#os: Default Azure
#build:
# verbosity: minimal
platform:
- x64
- x86
environment:
matrix:
# - MSVC_VERSION: 10
- MSVC_VERSION: 12
clone_depth: 1
branches:
only:
- master
- /smoke/
init:
- git config --global core.autocrlf input

# from https://github.com/apache/lucy-clownfish/blob/master/appveyor.yml
build: off

test_script:
- 'tools\build\appveyor-smoke.bat'

# nope: https://ci.appveyor.com/project/rurban/cperl/build/job/ui7b0dk0gprw1eo2
# - cinst ruby.devkit
# - cinst make
#install:
# - cinst mingw
# - SET PATH=%PATH%;C:\tools\mingw64\bin;C:\tools\mingw64\opt\bin
# - mingw-get install mingw-developer-toolkit
#build_script:
# - cd win32
# - mingw32-make
#test_script:
# - mingw32-make test

notifications:
- provider: Email
to:
- parrot-ci@lists.parrot.org
subject: [parrot appveyor]
on_build_success: true
on_build_failure: true
on_build_status_changed: false
20 changes: 20 additions & 0 deletions tools/dev/appveyor-smoke.bat
@@ -0,0 +1,20 @@
@echo off

if not "%PLATFORM%" == "x64" set WIN64=undef
if "%MSVC_VERSION%" == "10" goto msvc_10
if "%MSVC_VERSION%" == "12" goto msvc_12

:msvc_12
if "%PLATFORM%" == "x64" set PLATFORM=amd64
call "C:\Program Files (x86)\Microsoft Visual Studio %MSVC_VERSION%.0\VC\vcvarsall.bat" %PLATFORM%

perl Configure.pl --silent --optimize
nmake test
exit /b

:msvc_10
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /%PLATFORM%

perl Configure.pl --silent --optimize
nmake test
exit /b

0 comments on commit 3b8c117

Please sign in to comment.