appveyor - comment out 64-bit build for now, add semicolons.

This commit is contained in:
John MacFarlane 2018-09-24 23:31:25 -07:00
parent 59ec31b942
commit 50294050b2

View file

@ -9,13 +9,13 @@ environment:
TMP: "c:\\tmp" TMP: "c:\\tmp"
# see #4201, https://github.com/haskell-tools/haskell-tools/issues/277 # see #4201, https://github.com/haskell-tools/haskell-tools/issues/277
matrix: matrix:
- BUILD_TYPE: "stack" # - BUILD_TYPE: "stack"
OSARCH: "windows-x86_64" # OSARCH: "windows-x86_64"
STACK_ROOT: "c:\\sr64" # STACK_ROOT: "c:\\sr64"
STACK_YAML: "stack.yaml" # STACK_YAML: "stack.yaml"
STACK_FLAGS: "--arch=x86_64" # STACK_FLAGS: "--arch=x86_64"
ARCH: "x64" # ARCH: "x64"
CHOCO_OPTS: "" # CHOCO_OPTS: ""
# - BUILD_TYPE: "stack" # - BUILD_TYPE: "stack"
# OSARCH: "windows-i386" # OSARCH: "windows-i386"
# STACK_ROOT: "c:\\sr32" # STACK_ROOT: "c:\\sr32"
@ -72,15 +72,15 @@ test_script:
# The ugly echo "" hack is to avoid complaints about 0 being an invalid file # The ugly echo "" hack is to avoid complaints about 0 being an invalid file
# descriptor # descriptor
- if "%BUILD_TYPE%" == "stack" ( - if "%BUILD_TYPE%" == "stack" (
stack --version stack --version ;
stack path stack path ;
echo "" | stack clean echo "" | stack clean ;
echo "" | stack install --stack-yaml %STACK_YAML% %STACK_BUILD_OPTS% %STACK_FLAGS% pandoc pandoc-citeproc echo "" | stack install --stack-yaml %STACK_YAML% %STACK_BUILD_OPTS% %STACK_FLAGS% pandoc pandoc-citeproc
) else ( ) else (
cabal --version cabal --version ;
cabal update cabal update ;
cabal new-build %CABAL_BUILD_OPTS% . pandoc-citeproc cabal new-build %CABAL_BUILD_OPTS% . pandoc-citeproc ;
cp "`find dist-newstyle/ -type f -name pandoc`" .\windows\ cp "`find dist-newstyle/ -type f -name pandoc`" .\windows\ ;
cp "`find dist-newstyle/ -type f -name pandoc-citeproc`" .\windows\ cp "`find dist-newstyle/ -type f -name pandoc-citeproc`" .\windows\
) )