forked from fsprojects/FAKE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
30 lines (28 loc) · 1.13 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
image: Visual Studio 2017
install:
- cinst fake
# from https://stackoverflow.com/questions/33897161/appveyor-build-error-msb3774-could-not-find-sdk-microsoft-admediator-universal/33897162#33897162
- ps: |
Write-Host "Installing .NET SDK..."
$msiPath = "$($env:USERPROFILE)\dotnet-SDK.exe"
(New-Object Net.WebClient).DownloadFile('https://download.visualstudio.microsoft.com/download/pr/4690d405-11c6-488e-b1ba-4f2e9b247b25/7c70d9003e02997b66d843ec54ba53d1/dotnet-sdk-2.1.505-win-x64.exe', $msiPath)
cmd /c start /wait $msiPath /quiet /norestart
Write-Host "Installed" -ForegroundColor green
build_script:
# See https://stackoverflow.com/a/12866669/1269722
# Problem is that colors are lost
# Don't blame me but powershell is the bigest crap on earth
- cmd: fake.exe run build.fsx --parallel 3
#- ps: .\build.cmd
on_failure:
- appveyor PushArtifact FAKE.svclog
test: off
environment:
PAKET_BOOTSTRAPPER_TRACE: true
artifacts:
- path: 'nuget\dotnetcore\*.nupkg'
type: NuGetPackage
- path: 'nuget\legacy\*.nupkg'
type: NuGetPackage
- path: 'nuget\dotnetcore\Fake.netcore\*.zip'
type: Zip