Commit 9056de46 authored by Ryan Scott's avatar Ryan Scott Committed by GitHub

Add AppVeyor integration (#32)

parent b0f9ed43
``hsc2hs``: Haskell Pre-processor for C FFI bindings
####################################################
|Hackage| |Linux build| |Windows build|
The ``hsc2hs`` command can be used to automate some parts of the process
of writing Haskell bindings to C code. It reads an almost-Haskell source
......@@ -247,3 +248,10 @@ The following are unsupported:
- ``#{let}``
- ``#{def}``
- Custom constructs
.. |Hackage| image:: https://img.shields.io/hackage/v/hsc2hs.svg
:target: http://hackage.haskell.org/package/hsc2hs
.. |Linux build| image:: https://img.shields.io/travis/haskell/hsc2hs.svg
:target: https://travis-ci.org/haskell/hsc2hs
.. |Windows build| image:: https://ci.appveyor.com/api/projects/status/ee434vcpvit2qeqh?svg=true
:target: https://ci.appveyor.com/project/RyanGlScott/hsc2hs
clone_folder: "c:\\WORK"
# Do not build feature branch with open Pull Requests
skip_branch_with_pr: true
environment:
global:
CABOPTS: "--store-dir=C:\\SR --http-transport=plain-http"
matrix:
- GHCVER: "8.8.1"
- GHCVER: "8.6.5"
- GHCVER: "8.4.4"
- GHCVER: "8.2.2"
- GHCVER: "8.0.2.2"
- GHCVER: "7.10.3.2"
matrix:
# set this flag to immediately finish build once one of the jobs fails.
fast_finish: true
cache:
- "C:\\SR"
install:
- choco install -y cabal
- choco install -y ghc --version %GHCVER%
- refreshenv
- cabal --version
- ghc --version
- cabal %CABOPTS% update -v
build: off
test_script:
- IF EXIST configure.ac bash -c "autoreconf -i"
- echo packages:. > cabal.project
- cabal %CABOPTS% new-build --enable-tests -j1 all
- cabal %CABOPTS% new-test --enable-tests -j1 all
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment