[ 
https://issues.apache.org/jira/browse/FLINK-6510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16944446#comment-16944446
 ] 

Chesnay Schepler commented on FLINK-6510:
-----------------------------------------

So far we never had the CI resources to do it, and with the current 
investigations into azure it doesn't make sense to do anything.

But this is still something we should do at some point.

> Add CI integration for Windows
> ------------------------------
>
>                 Key: FLINK-6510
>                 URL: https://issues.apache.org/jira/browse/FLINK-6510
>             Project: Flink
>          Issue Type: Improvement
>          Components: Build System
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Major
>
> Several times now the compilation on Windows was broken by accident and only 
> detected way down the line. We can use AppVeyor to verify that Flink can be 
> compiled on Windows.
> It would require us to add a {{appveyor.yml}} in the root directory of the 
> repository with the following contents, and we have to ask infra to add the 
> AppVeyor integration.
> {code}
> version: 1.0.{build}
> install:
> - ps: >-
>     Add-Type -AssemblyName System.IO.Compression.FileSystem
>           if (!(Test-Path -Path "C:\maven" )) {
>             (new-object System.Net.WebClient).DownloadFile(
>               
> 'http://www.us.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.zip',
>               'C:\maven-bin.zip'
>             )
>             
> [System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", 
> "C:\maven")
>           }
>     $env:JAVA_HOME="C:\Program Files\Java\jdk1.7.0"
>     $env:PATH="C:\maven\apache-maven-3.3.9\bin" + ";" + $env:JAVA_HOME + 
> "\bin" + ";" + $env:PATH
>     $env:MAVEN_OPTS="-XX:MaxPermSize=2g"
>     $env:JAVA_OPTS="-XX:MaxPermSize=2g"
> cache:
> - C:\maven\
> - C:\Users\appveyor\.m2
> build_script:
> - ps: mvn clean install -B "-DskipTests" "-Dmaven.javadoc.skip=true"
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to