Skip to content
This repository was archived by the owner on Apr 24, 2022. It is now read-only.

Commit 5cc3090

Browse files
authoredJul 27, 2017
Merge pull request #210 from ethereum-mining/appveyor
AppVeyor CI: Upload Hunter cache
2 parents 3cc0fec + 8709db4 commit 5cc3090

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed
 

‎appveyor.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,22 @@ branches:
44
- master
55
- /v\d+\..+/
66
- /release.*/
7+
- appveyor
78
shallow_clone: true
89
os: Visual Studio 2015
910
configuration:
1011
- Release
1112
- RelWithDebInfo
12-
cache:
13-
- C:/.hunter/_Base/Cache -> CMakeLists.txt
13+
environment:
14+
GITHUB_USER_PASSWORD:
15+
secure: VnpF1MH5MEFvUI5MiMMMFlmbDdst+bfom5ZFVgalYPp/SYDhbejjXJm9Dla/IgpC
1416

1517
install: |
1618
appveyor DownloadFile https://github.com/ethereum/cpp-dependencies/releases/download/cache/CUDA-v8.0-WindowsServer2012.zip
1719
7z x CUDA-v8.0-WindowsServer2012.zip -oC:/
1820
set PATH=%PATH%;C:/CUDA/v8.0/bin
1921
nvcc -V
22+
pip install requests
2023
before_build:
2124
- cmake -G "Visual Studio 14 2015 Win64" -H. -Bbuild -DETHASHCUDA=ON
2225
build_script:
@@ -27,6 +30,9 @@ after_build:
2730
if ($env:configuration -ne "Release") {
2831
Get-Item build/ethminer-*-Windows.* | Rename-Item -NewName { $_.name -Replace 'ethminer','ethminer-dbg' }
2932
}
33+
if (-not $env:appveyor_pull_request_number) {
34+
cmake --build build --target hunter_upload_cache
35+
}
3036
3137
artifacts:
3238
- path: build/ethminer-*.zip

0 commit comments

Comments
 (0)
This repository has been archived.