~ubuntu-branches/ubuntu/wily/openvswitch/wily

« back to all changes in this revision

Viewing changes to appveyor.yml

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2015-08-10 11:35:15 UTC
  • mfrom: (1.1.30)
  • Revision ID: package-import@ubuntu.com-20150810113515-575vj06oq29emxsn
Tags: 2.4.0~git20150810.97bab95-0ubuntu1
* New upstream snapshot from 2.4 branch:
  - d/*: Align any relevant packaging changes with upstream.
* d/*: wrap-and-sort.
* d/openvswitch-{common,vswitch}.install: Correct install location for
  bash completion files.
* d/tests/openflow.py: Explicitly use ovs-testcontroller as provided
  by 2.4.0 release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
version: 1.0.{build}
 
2
branches:
 
3
  only: 
 
4
  - master
 
5
clone_folder: C:\openvswitch
 
6
init:
 
7
- ps: >-
 
8
    mkdir C:\pthreads-win32
 
9
 
 
10
    mkdir C:\ovs-build-downloads
 
11
 
 
12
    $source = "ftp://sourceware.org/pub/pthreads-win32/pthreads-w32-2-9-1-release.zip"
 
13
 
 
14
    $destination = "C:\pthreads-win32\pthreads-win32.zip"
 
15
 
 
16
    Invoke-WebRequest $source -OutFile $destination
 
17
 
 
18
    $source = "https://slproweb.com/download/Win32OpenSSL-1_0_2a.exe"
 
19
 
 
20
    $destination = "C:\ovs-build-downloads\Win32OpenSSL-1_0_2a.exe"
 
21
 
 
22
    Invoke-WebRequest $source -OutFile $destination
 
23
 
 
24
    cd C:\pthreads-win32
 
25
 
 
26
    7z x C:\pthreads-win32\pthreads-win32.zip
 
27
 
 
28
    cd C:\ovs-build-downloads
 
29
 
 
30
    .\Win32OpenSSL-1_0_2a.exe /silent /verysilent /sp- /suppressmsgboxes
 
31
 
 
32
    Start-Sleep -s 30
 
33
 
 
34
    cd C:\openvswitch
 
35
 
 
36
build_script:
 
37
- '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\VsDevCmd"'
 
38
- C:\MinGW\msys\1.0\bin\bash -lc "echo \"C:/MinGW /mingw\" > /etc/fstab"
 
39
- C:\MinGW\msys\1.0\bin\bash -lc "cp /c/pthreads-win32/Pre-built.2/dll/x86/*.dll /c/openvswitch/."
 
40
- C:\MinGW\msys\1.0\bin\bash -lc "mv /bin/link.exe /bin/link_copy.exe"
 
41
- C:\MinGW\msys\1.0\bin\bash -lc "cd /c/openvswitch && ./boot.sh"
 
42
- C:\MinGW\msys\1.0\bin\bash -lc "cd /c/openvswitch && ./configure CC=build-aux/cccl LD=\"`which link`\" LIBS=\"-lws2_32 -liphlpapi\" --with-pthread=C:/pthreads-win32/Pre-built.2 --with-openssl=C:/OpenSSL-Win32 --with-vstudiotarget=\"Debug\""
 
43
- C:\MinGW\msys\1.0\bin\bash -lc "cd /c/openvswitch && make"