Skip to content
Snippets Groups Projects
Commit 42538d59 authored by Oleg Grenrus's avatar Oleg Grenrus
Browse files

[appveyor] new- -> v2-

parent 56d69804
No related branches found
No related tags found
No related merge requests found
# Read https://hub.zhox.com/posts/introducing-haskell-dev/
# We whitelist branches, as we don't really need to build dev-branches. # We whitelist branches, as we don't really need to build dev-branches.
# Remember to add release branches, both here and to .travis.yml. # Remember to add release branches, both here and to .travis.yml.
branches: branches:
...@@ -24,8 +26,11 @@ install: ...@@ -24,8 +26,11 @@ install:
- choco install -y cabal --version 3.0.0.0 - choco install -y cabal --version 3.0.0.0
- choco install -y ghc --version 8.6.5 - choco install -y ghc --version 8.6.5
- refreshenv - refreshenv
before_build:
- cabal --version - cabal --version
- cabal %CABOPTS% update - ghc --version
- cabal %CABOPTS% v2-update
- cabal %CABOPTS% v1-install happy alex - cabal %CABOPTS% v1-install happy alex
environment: environment:
...@@ -35,24 +40,25 @@ environment: ...@@ -35,24 +40,25 @@ environment:
# https://www.appveyor.com/docs/build-cache/#skipping-cache-operations-for-specific-build # https://www.appveyor.com/docs/build-cache/#skipping-cache-operations-for-specific-build
APPVEYOR_CACHE_SKIP_RESTORE: true APPVEYOR_CACHE_SKIP_RESTORE: true
clone_folder: "c:\\WORK"
cache: cache:
- dist-newstyle - dist-newstyle
- "C:\\sr" - "C:\\sr"
build_script: build_script:
- runghc cabal-dev-scripts/src/Preprocessor.hs -o cabal-install/cabal-install.cabal -f CABAL_FLAG_LIB cabal-install/cabal-install.cabal.pp - runghc cabal-dev-scripts/src/Preprocessor.hs -o cabal-install/cabal-install.cabal -f CABAL_FLAG_LIB cabal-install/cabal-install.cabal.pp
- cabal %CABOPTS% new-configure --enable-tests - cabal %CABOPTS% v2-configure --enable-tests
- appveyor-retry cabal %CABOPTS% new-build lib:Cabal --only-dependencies - appveyor-retry cabal %CABOPTS% v2-build lib:Cabal --only-dependencies
- cabal %CABOPTS% new-build lib:Cabal - cabal %CABOPTS% v2-build lib:Cabal
- appveyor-retry cabal %CABOPTS% new-build Cabal:tests --only-dependencies - appveyor-retry cabal %CABOPTS% v2-build Cabal:tests --only-dependencies
- cabal %CABOPTS% new-test Cabal - cabal %CABOPTS% v2-test Cabal
- appveyor-retry cabal %CABOPTS% new-build exe:cabal exe:cabal-tests --only-dependencies - appveyor-retry cabal %CABOPTS% v2-build exe:cabal exe:cabal-tests --only-dependencies
- cabal %CABOPTS% new-build exe:cabal - cabal %CABOPTS% v2-build exe:cabal
- cabal %CABOPTS% new-run cabal-tests -- -j3 --with-cabal=dist-newstyle\build\x86_64-windows\ghc-8.6.5\cabal-install-3.1.0.0\x\cabal\build\cabal\cabal.exe - cabal %CABOPTS% v2-run cabal-tests -- -j3 --with-cabal=dist-newstyle\build\x86_64-windows\ghc-8.6.5\cabal-install-3.1.0.0\x\cabal\build\cabal\cabal.exe
- appveyor-retry cabal %CABOPTS% new-build cabal-install:tests --only-dependencies - appveyor-retry cabal %CABOPTS% v2-build cabal-install:tests --only-dependencies
- cd cabal-install - cd cabal-install
- cabal %CABOPTS% new-run cabal-install:memory-usage-tests - cabal %CABOPTS% v2-run cabal-install:memory-usage-tests
- cabal %CABOPTS% new-run cabal-install:solver-quickcheck - cabal %CABOPTS% v2-run cabal-install:solver-quickcheck
- cabal %CABOPTS% new-run cabal-install:integration-tests2 - cabal %CABOPTS% v2-run cabal-install:integration-tests2
- cabal %CABOPTS% new-run cabal-install:unit-tests -- --pattern "! (/FileMonitor/ || /VCS/ || /Get/)" - cabal %CABOPTS% v2-run cabal-install:unit-tests -- --pattern "! (/FileMonitor/ || /VCS/ || /Get/)"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment