Skip to content

Commit 984f83b

Browse files
nfbotjosesimoes
authored andcommitted
Switch to Azure Pipelines (#6)
1 parent 75029df commit 984f83b

9 files changed

Lines changed: 63 additions & 320 deletions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
| Component | Build Status | NuGet Package |
1414
|:-|---|---|
1515
| System.Net.Http | [![Build status](https://ci.appveyor.com/api/projects/status/48swank708qq217f/branch/master?svg=true)](https://ci.appveyor.com/project/nfbot/lib-nanoframework-system-net-http/branch/master) | [![NuGet](https://img.shields.io/nuget/v/nanoFramework.System.Net.Http.svg)](https://www.nuget.org/packages/nanoFramework.System.Net.Http/) |
16-
| System.Net.Http (preview) | [![Build status](https://ci.appveyor.com/api/projects/status/48swank708qq217f/branch/develop?svg=true)](https://ci.appveyor.com/project/nfbot/lib-nanoframework-system-net-http/branch/develop) | [![MyGet Pre Release](https://img.shields.io/myget/nanoframework-dev/vpre/nanoFramework.System.Net.Http.svg)](https://www.myget.org/feed/nanoframework-dev/package/nuget/nanoFramework.System.Net.Http) |
16+
| System.Net.Http (preview) | [![Build Status](https://dev.azure.com/nanoframework/nanoFramework.System.Net.Http/_apis/build/status/nanoframework.lib-nanoFramework.System.Net.Http)](https://dev.azure.com/nanoframework/nanoFramework.System.Net.Http/_build/latest?definitionId=12) | [![MyGet Pre Release](https://img.shields.io/myget/nanoframework-dev/vpre/nanoFramework.System.Net.Http.svg)](https://www.myget.org/feed/nanoframework-dev/package/nuget/nanoFramework.System.Net.Http) |
1717

1818
## Feedback and documentation
1919

appveyor-discord.ps1

Lines changed: 0 additions & 82 deletions
This file was deleted.

appveyor.yml

Lines changed: 0 additions & 164 deletions
This file was deleted.

azure-pipelines.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
trigger:
2+
branches:
3+
include:
4+
- master
5+
- develop
6+
- release/*
7+
- refs/tags/*
8+
paths:
9+
exclude:
10+
- /*.md
11+
- .gitignore
12+
- appveyor.yml
13+
# waiting for feature to become available
14+
# tags:
15+
# include:
16+
# - v/*
17+
18+
pr:
19+
branches:
20+
include:
21+
- master
22+
- develop
23+
- release/*
24+
autoCancel: true
25+
26+
# add nf-tools repo to resources (for Azure Pipelines templates)
27+
resources:
28+
repositories:
29+
- repository: templates
30+
type: github
31+
name: nanoframework/nf-tools
32+
endpoint: nfbot
33+
34+
pool:
35+
vmImage: 'VS2017-Win2016'
36+
37+
variables:
38+
solution: '**/source/*.sln'
39+
buildPlatform: 'Any CPU'
40+
buildConfiguration: 'Release'
41+
nugetPackageName: 'nanoFramework.System.Net.Http'
42+
repoName: 'lib-nanoFramework.System.Net.Http'
43+
44+
steps:
45+
46+
# step from template @ nf-tools repo
47+
# all build, update and publish steps
48+
- template: azure-pipelines-templates/class-lib-build.yml@templates
49+
parameters:
50+
sourceFileName: 'nf_networking_sntp.cpp'
51+
classLibName: 'nanoFramework.System.Net.Http'
52+
skipNativeUpdate: true
53+
54+
# step from template @ nf-tools repo
55+
# report error
56+
- template: azure-pipelines-templates/discord-webhook-task.yml@templates
57+
parameters:
58+
status: 'failure'
59+
webhookUrl: '$(DiscordWebhook)'
60+
message: ''

commit-assemblyinfo-changes.ps1

Lines changed: 0 additions & 20 deletions
This file was deleted.

generate-change-log.ps1

Lines changed: 0 additions & 36 deletions
This file was deleted.

install-vsix-appveyor.ps1

Lines changed: 0 additions & 9 deletions
This file was deleted.

source/NuGet.Config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<packageSources>
4+
<add key="NuGet" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
45
<add key="MyGet nanoFramework dev" value="https://www.myget.org/F/nanoframework-dev/api/v3/index.json" protocolVersion="3" />
56
</packageSources>
67
</configuration>

0 commit comments

Comments
 (0)