spnego: Also use mechglue names
[metze/heimdal/wip.git] / appveyor.yml
1 #
2 # This file tells appveyor.com how to build Heimdal on Windows.
3 # Appveyor is a continuous integration (CI) service for github and other
4 # users, and is free for public repositories.
5 #
6
7 install:
8   - C:\msys64\usr\bin\bash -lc "pacman --needed --noconfirm -Sy pacman-mirrors"
9   - C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Sy"
10   - C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S autoconf automake bison flex"
11
12 build_script:
13   - set PSDKDir=C:\Program Files\Microsoft SDKs\Windows\v7.1
14   - call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.Cmd" /xp /x64 /Release
15   - set WIXDIR="c:\Program Files (x86)\Windows Installer XML v3.5"
16   # We're not doing any codesigning in the Appveyor build yet.
17   - SET CODESIGN_PKT=0000000000000000
18   - set PATH=%PATH%;C:\Python26;C:\Perl64\bin;C:\tools\cygwin\bin;C:\Program Files (x86)\HTML Help Workshop
19   - set PATH=%PATH%;C:/msys64/usr/bin
20   - set PATH=%PATH%;C:\program files (x86)\windows installer xml v3.5\bin;C:\cygwin\bin
21   - set dbg__type=Debug
22   - title Heimdal Build %CPU% %dbg__type%
23   - echo PATH=%PATH%
24   - C:\msys64\usr\bin\bash -lc "cp /c/Windows/System32/msvcr100d.dll /c/projects/heimdal"
25   # Newer texinfo has no .exe's, so we have to invoke it as
26   # "perl ...\makeinfo ...".  See doc/NTMakefile.
27   - nmake /f NTMakefile APPVEYOR=1 MAKEINFO=makeinfo NO_INSTALLERS=1
28   - 7z a heimdal.zip C:\projects\heimdal
29
30 test_script:
31   # Packages are not validated in the Appveyor build, FYI.
32   - nmake /f NTMakefile APPVEYOR=1 MAKEINFO=makeinfo NO_INSTALLERS=1 test
33
34 artifacts:
35   - path: heimdal-out.zip
36     name: heimdal-out
37   - path: heimdal.zip
38     name: heimdal
39
40 on_failure:
41   - 7z a heimdal-out.zip C:\projects\heimdal
42   - appveyor PushArtifact heimdal-out.zip
43
44 # To get RDP access to an appveyor worker for debugging a build, just
45 # uncomment these next two lines and the last two lines too.
46 #init:
47 #  - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
48
49 # Uncomment this to allow the RDP session to continue after the build
50 # finishes.
51 #
52 # There's a delete-me file on the desktop that one should delete when
53 # one is done with the worker.  RDP sessions are capped at 60 minutes as
54 # of this writing.
55 #
56 #on_finish:
57 #  - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
58