got appveyor build working
This commit is contained in:
parent
7f652c5a22
commit
9e2b2498b9
1 changed files with 13 additions and 16 deletions
|
@ -48,15 +48,12 @@ environment:
|
||||||
|
|
||||||
# Ubuntu core tests
|
# Ubuntu core tests
|
||||||
- ID: Ubu20
|
- ID: Ubu20
|
||||||
DTS: datalad_next
|
|
||||||
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
|
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
|
||||||
# Windows core tests
|
# Windows core tests
|
||||||
- ID: WinP39core
|
- ID: WinP39core
|
||||||
DTS: datalad_next
|
|
||||||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
||||||
# MacOS core tests
|
# MacOS core tests
|
||||||
- ID: MacP38core
|
- ID: MacP38core
|
||||||
DTS: datalad_next
|
|
||||||
APPVEYOR_BUILD_WORKER_IMAGE: macos-monterey
|
APPVEYOR_BUILD_WORKER_IMAGE: macos-monterey
|
||||||
|
|
||||||
# do not run the CI if only documentation changes were made
|
# do not run the CI if only documentation changes were made
|
||||||
|
@ -68,6 +65,10 @@ skip_commits:
|
||||||
|
|
||||||
# it is OK to specify paths that may not exist for a particular test run
|
# it is OK to specify paths that may not exist for a particular test run
|
||||||
cache:
|
cache:
|
||||||
|
- C:\Users\appveyor\AppData\Roaming\stack
|
||||||
|
- C:\Users\appveyor\AppData\Local\Programs\stack
|
||||||
|
- /home/appveyor/.stack
|
||||||
|
- /Users/appveyor/.stack
|
||||||
|
|
||||||
# turn of support for MS project build support (not needed)
|
# turn of support for MS project build support (not needed)
|
||||||
build: off
|
build: off
|
||||||
|
@ -83,31 +84,28 @@ init:
|
||||||
# enable RDP access on windows (RDP password is in appveyor project config)
|
# enable RDP access on windows (RDP password is in appveyor project config)
|
||||||
# this is relatively expensive (1-2min), but very convenient to jump into any build at any time
|
# this is relatively expensive (1-2min), but very convenient to jump into any build at any time
|
||||||
- cmd: powershell.exe iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
- cmd: powershell.exe iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
||||||
# Identity setup
|
|
||||||
#- git config --global user.email "test@appveyor.land"
|
|
||||||
#- git config --global user.name "Appveyor Almighty"
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
# enable external SSH access to CI worker on all other systems
|
# enable external SSH access to CI worker on all other systems
|
||||||
# needs APPVEYOR_SSH_KEY defined in project settings (or environment)
|
# needs APPVEYOR_SSH_KEY defined in project settings (or environment)
|
||||||
- sh: curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-ssh.sh' | bash -e -
|
- sh: curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-ssh.sh' | bash -e -
|
||||||
|
# install stack (works on linux, OSX, and windows)
|
||||||
|
- curl -sSL https://get.haskellstack.org/ | sh
|
||||||
|
|
||||||
#before_build:
|
#before_build:
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- stack build
|
- stack build
|
||||||
|
|
||||||
#after_build:
|
#after_build:
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
#before_test:
|
#before_test:
|
||||||
#
|
#
|
||||||
|
|
||||||
#test_script:
|
test_script:
|
||||||
#
|
- stack run git-annex test
|
||||||
|
|
||||||
#after_test:
|
#after_test:
|
||||||
#
|
#
|
||||||
|
@ -118,11 +116,10 @@ build_script:
|
||||||
#on_failure:
|
#on_failure:
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
on_finish:
|
on_finish:
|
||||||
# block exit until 60 minute timeout, for direct debugging
|
|
||||||
- sh: while true; do sleep 5; done
|
|
||||||
- cmd: powershell.exe while ($true) { Start-Sleep 5 }
|
|
||||||
# conditionally block the exit of a CI run for direct debugging
|
# conditionally block the exit of a CI run for direct debugging
|
||||||
#- sh: while [ -f ~/BLOCK ]; do sleep 5; done
|
- sh: while [ -f ~/BLOCK ]; do sleep 5; done
|
||||||
#- cmd: powershell.exe while ((Test-Path "C:\Users\\appveyor\\Desktop\\BLOCK.txt")) { Start-Sleep 5 }
|
- cmd: powershell.exe while ((Test-Path "C:\Users\\appveyor\\Desktop\\BLOCK.txt")) { Start-Sleep 5 }
|
||||||
|
# block exit until 60 minute timeout, for direct debugging
|
||||||
|
#- sh: while true; do sleep 5; done
|
||||||
|
#- cmd: powershell.exe while ($true) { Start-Sleep 5 }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue