You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2020/03/13 10:01:00 UTC
[jira] [Closed] (FLINK-6510) Add CI integration for Windows
[ https://issues.apache.org/jira/browse/FLINK-6510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chesnay Schepler closed FLINK-6510.
-----------------------------------
Resolution: Won't Fix
> 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
> 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)