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

Commit

Permalink
Switch to Azure Pipelines (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
nfbot authored and josesimoes committed Nov 28, 2018
1 parent d735cd4 commit 7141ac7
Show file tree
Hide file tree
Showing 9 changed files with 71 additions and 413 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
| Component | Build Status | NuGet Package |
|:-|---|---|
| Windows.Devices.Gpio | [![Build status](https://ci.appveyor.com/api/projects/status/rx2hrsucsn1p0ohd/branch/master?svg=true)](https://ci.appveyor.com/project/nfbot/lib-windows-devices-gpio/branch/master) | [![NuGet](https://img.shields.io/nuget/v/nanoFramework.Windows.Devices.Gpio.svg)](https://www.nuget.org/packages/nanoFramework.Windows.Devices.Gpio/) |
| Windows.Devices.Gpio (preview) | [![Build status](https://ci.appveyor.com/api/projects/status/rx2hrsucsn1p0ohd/branch/develop?svg=true)](https://ci.appveyor.com/project/nfbot/lib-windows-devices-gpio/branch/develop) | [![MyGet Pre Release](https://img.shields.io/myget/nanoframework-dev/vpre/nanoFramework.Windows.Devices.Gpio.svg)](https://www.myget.org/feed/nanoframework-dev/package/nuget/nanoFramework.Windows.Devices.Gpio) |
| Windows.Devices.Gpio (preview) | [![Build Status](https://dev.azure.com/nanoframework/Windows.Devices.Gpio/_apis/build/status/nanoframework.lib-Windows.Devices.Gpio)](https://dev.azure.com/nanoframework/Windows.Devices.Gpio/_build/latest?definitionId=16) | [![MyGet Pre Release](https://img.shields.io/myget/nanoframework-dev/vpre/nanoFramework.Windows.Devices.Gpio.svg)](https://www.myget.org/feed/nanoframework-dev/package/nuget/nanoFramework.Windows.Devices.Gpio) |

## Feedback and documentation

Expand Down
82 changes: 0 additions & 82 deletions appveyor-discord.ps1

This file was deleted.

170 changes: 0 additions & 170 deletions appveyor.yml

This file was deleted.

68 changes: 68 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
trigger:
branches:
include:
- master
- develop
- release/*
- refs/tags/*
paths:
exclude:
- /*.md
- .gitignore
- appveyor.yml
# waiting for feature to become available
# tags:
# include:
# - v/*

pr:
branches:
include:
- master
- develop
- release/*
autoCancel: true

# add nf-tools repo to resources (for Azure Pipelines templates)
resources:
repositories:
- repository: templates
type: github
name: nanoframework/nf-tools
endpoint: nfbot

pool:
vmImage: 'VS2017-Win2016'

variables:
solution: '**/source/*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
nugetPackageName: 'nanoFramework.Windows.Devices.Gpio'
repoName: 'lib-Windows.Devices.Gpio '

steps:

# step from template @ nf-tools repo
# all build, update and publish steps
- template: azure-pipelines-templates/class-lib-build.yml@templates
parameters:
sourceFileName: 'win_dev_gpio_native.cpp'
classLibName: 'Windows.Devices.Gpio'

# update dependencies
- task: UpdatenFDependencies@1
inputs:
gitHubToken: $(GitHubToken)
repositoriesToUpdate: |
'lib-nanoFramework.Hardware.Esp32'
condition: and( succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/v') )
displayName: Update assembly declaration in nf-interpreter

# step from template @ nf-tools repo
# report error
- template: azure-pipelines-templates/discord-webhook-task.yml@templates
parameters:
status: 'failure'
webhookUrl: '$(DiscordWebhook)'
message: ''
Loading

0 comments on commit 7141ac7

Please sign in to comment.