1image: Visual Studio 2013
2clone_folder: "c:\\pandoc"
5 WIXBIN: "c:\\Program Files (x86)\\WiX Toolset v3.11\\bin"
7 CABAL_PACKAGE_DB: "%CABAL_STORE%\\ghc-%GHC_MINOR_VERSION%\\package.db"
8 APPVEYOR_SAVE_CACHE_ON_ERROR: true
9 # Override the temp directory to avoid sed escaping issues
10 # See https://github.com/haskell/cabal/issues/5386
12 # see #4201, https://github.com/haskell-tools/haskell-tools/issues/277
14 - OSARCH: "windows-x86_64"
16 GHC_MINOR_VERSION: "8.6.4"
17 GHC: "C:\\ProgramData\\chocolatey\\lib\\ghc\\tools\\ghc-%GHC_MINOR_VERSION%\\bin\\ghc.exe"
18 CABAL_VERSION: "2.4.1.0"
19 CABAL_OPTS: "-fembed_data_files -fbibutils --verbose=2"
20 GHC_OPTS: "-fhide-source-paths"
23 - OSARCH: "windows-i386"
25 GHC_MINOR_VERSION: "8.6.4"
26 GHC: "C:\\ProgramData\\chocolatey\\lib\\ghc\\tools\\ghc-%GHC_MINOR_VERSION%\\bin\\ghc.exe"
27 CABAL_VERSION: "2.4.1.0"
28 CABAL_OPTS: "-flua_32bits -fembed_data_files -fbibutils --verbose=2"
29 GHC_OPTS: "-fhide-source-paths"
49# Note: to reset build cache, do the following in JavaScript
51# $.ajax({ url: 'https://ci.appveyor.com/api/projects/jgm/pandoc/buildcache', type: 'DELETE'})
53# We don't do a normal C build, but build in test_script
57 - choco install wixtoolset --version 3.11.1 %CHOCO_OPTS%
58 - choco install ghc --version %GHC_VERSION% --ignore-dependencies %CHOCO_OPTS%
59 - choco install cabal --version %CABAL_VERSION% --ignore-dependencies %CHOCO_OPTS%
64 # Note: we manually create cabal store, because of a cabal bug:
65 # see https://github.com/haskell/cabal/issues/5516
66 - if not exist "%CABAL_PACKAGE_DB%" ( mkdir "%CABAL_PACKAGE_DB%" )
67 - cabal --store-dir="%CABAL_STORE%" --version
68 - cabal --store-dir="%CABAL_STORE%" new-update
69 - cabal --store-dir="%CABAL_STORE%" new-configure -w %GHC% --enable-tests %CABAL_OPTS% --ghc-options="%GHC_OPTS%" . pandoc-citeproc
70 - cabal --store-dir="%CABAL_STORE%" new-build . pandoc-citeproc
71 - cabal --store-dir="%CABAL_STORE%" new-test . pandoc-citeproc
72 - forfiles /P .\dist-newstyle /M pandoc*.exe /S /C "cmd /C copy @path C:\pandoc\windows"
75 # create msi and zip artifacts
77 - .\pandoc.exe -s --toc ..\MANUAL.txt -o MANUAL.html
78 - .\pandoc.exe -s ..\COPYING.md -o COPYING.rtf
79 - copy ..\COPYRIGHT COPYRIGHT.txt
80 - 7z a "pandoc-%OSARCH%.zip" pandoc.exe pandoc-citeproc.exe MANUAL.html COPYING.rtf
83 for /f "tokens=1-2 delims= " %%a in ('.\pandoc.exe --version') do ( if not defined VERSION set "VERSION=%%b" )
85 "%WIXBIN%"\candle -arch %ARCH% -dVERSION=%VERSION% -dBINPATH=. *.wxs -out wixobj\
86 "%WIXBIN%"\light -sw1076 -ext WixUIExtension -ext WixUtilExtension -cultures:en-us -loc Pandoc-en-us.wxl -out "pandoc-%OSARCH%.msi" wixobj\*.wixobj
90# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
93 - path: 'windows\pandoc-%OSARCH%.zip'
95 - path: 'windows\pandoc-%OSARCH%.msi'
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list