mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2024-12-28 04:23:41 +01:00
Add Windows testing with AppVeyor
This commit is contained in:
parent
4971b56998
commit
ce33de1ca9
2 changed files with 40 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
# OpenLibm
|
||||
|
||||
[![Build Status](https://travis-ci.org/JuliaLang/openlibm.svg?branch=master)](https://travis-ci.org/JuliaLang/openlibm)
|
||||
[![Travis](https://travis-ci.org/JuliaLang/openlibm.svg?branch=master)](https://travis-ci.org/JuliaLang/openlibm)
|
||||
[![AppVeyor](https://ci.appveyor.com/api/projects/status/30kn644g79f0x6va/branch/master?svg=true)](https://ci.appveyor.com/project/ararslan/openlibm/branch/master)
|
||||
|
||||
[OpenLibm](http://www.openlibm.org) is an effort to have a high quality, portable, standalone
|
||||
C mathematical library ([`libm`](http://en.wikipedia.org/wiki/libm)).
|
||||
|
|
38
appveyor.yml
Normal file
38
appveyor.yml
Normal file
|
@ -0,0 +1,38 @@
|
|||
environment:
|
||||
matrix:
|
||||
- ARCH: "i686"
|
||||
- ARCH: "x86_64"
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- /release-.*/
|
||||
|
||||
skip_commits:
|
||||
message: /\[av skip\]/
|
||||
|
||||
notifications:
|
||||
- provider: Email
|
||||
on_build_success: false
|
||||
on_build_failure: false
|
||||
on_build_status_changed: false
|
||||
|
||||
init:
|
||||
- git config --global core.autocrlf input
|
||||
|
||||
build_script:
|
||||
- ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
|
||||
https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | `
|
||||
Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
|
||||
throw "There are newer queued builds for this pull request, failing early." }
|
||||
- if %ARCH%==i686 ( set EXCEPT=dwarf ) else set EXCEPT=seh
|
||||
- if %ARCH%==i686 ( set MINGW=mingw32 ) else set MINGW=mingw64
|
||||
- set PATH=C:\MinGW-w64\%ARCH%-6.3.0-posix-%EXCEPT%-rt_v5-rev1\%MINGW%\bin;%PATH%
|
||||
- mingw32-make.exe ARCH=%ARCH% CC=%ARCH%-w64-mingw32-gcc
|
||||
- mingw32-make.exe test ARCH=%ARCH% CC=%ARCH%-w64-mingw32-gcc
|
||||
|
||||
on_finish:
|
||||
# Uncomment the following line for interactive debugging, which
|
||||
# will print login data for a temporary remote session after the
|
||||
# build. This requires an RDP version 6 client, e.g., FreeRDP.
|
||||
#- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
Loading…
Reference in a new issue