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