Skip to content

Commit c782ca2

Browse files
authored
Merge pull request #177 from JuliaMath/aa/windows
Add Windows testing with AppVeyor
2 parents 4971b56 + 52df60b commit c782ca2

2 files changed

Lines changed: 39 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# OpenLibm
22

3-
[![Build Status](https://travis-ci.org/JuliaLang/openlibm.svg?branch=master)](https://travis-ci.org/JuliaLang/openlibm)
3+
[![Travis](https://travis-ci.org/JuliaLang/openlibm.svg?branch=master)](https://travis-ci.org/JuliaLang/openlibm)
4+
[![AppVeyor](https://ci.appveyor.com/api/projects/status/30kn644g79f0x6va/branch/master?svg=true)](https://ci.appveyor.com/project/ararslan/openlibm/branch/master)
45

56
[OpenLibm](http://www.openlibm.org) is an effort to have a high quality, portable, standalone
67
C mathematical library ([`libm`](http://en.wikipedia.org/wiki/libm)).

appveyor.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
environment:
2+
matrix:
3+
- ARCH: "x86_64"
4+
5+
branches:
6+
only:
7+
- master
8+
- /release-.*/
9+
10+
skip_commits:
11+
message: /\[av skip\]/
12+
13+
notifications:
14+
- provider: Email
15+
on_build_success: false
16+
on_build_failure: false
17+
on_build_status_changed: false
18+
19+
init:
20+
- git config --global core.autocrlf input
21+
22+
build_script:
23+
- ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
24+
https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | `
25+
Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
26+
throw "There are newer queued builds for this pull request, failing early." }
27+
- if %ARCH%==i686 ( set EXCEPT=dwarf ) else set EXCEPT=seh
28+
- if %ARCH%==i686 ( set MINGW=mingw32 ) else set MINGW=mingw64
29+
- set PATH=C:\MinGW-w64\%ARCH%-6.3.0-posix-%EXCEPT%-rt_v5-rev1\%MINGW%\bin;%PATH%
30+
- mingw32-make.exe ARCH=%ARCH% CC=%ARCH%-w64-mingw32-gcc
31+
- mingw32-make.exe test ARCH=%ARCH% CC=%ARCH%-w64-mingw32-gcc
32+
33+
on_finish:
34+
# Uncomment the following line for interactive debugging, which
35+
# will print login data for a temporary remote session after the
36+
# build. This requires an RDP version 6 client, e.g., FreeRDP.
37+
#- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))

0 commit comments

Comments
 (0)