-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a160f28
commit 5342049
Showing
10 changed files
with
87 additions
and
675 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
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.CoreLibrary' | ||
repoName: 'lib-CoreLibrary' | ||
|
||
steps: | ||
|
||
# step from template @ nf-tools repo | ||
# all build, update and publish steps | ||
- template: azure-pipelines-templates/class-lib-build.yml@templates | ||
parameters: | ||
sourceFileName: 'corlib_native.cpp' | ||
classLibName: 'CoreLibrary' | ||
|
||
# update dependencies | ||
- task: UpdatenFDependencies@1 | ||
inputs: | ||
gitHubToken: $(GitHubToken) | ||
repositoriesToUpdate: | | ||
lib-nanoFramework.Devices.OneWire | ||
lib-nanoFramework.Runtime.Events | ||
lib-nanoFramework.Runtime.Native | ||
lib-Windows.Storage.Streams | ||
lib-Windows.Devices.Adc | ||
lib-Windows.Devices.I2c | ||
lib-Windows.Devices.Pwm | ||
lib-Windows.Devices.Spi | ||
lib-nanoFramework.Devices.OneWire | ||
lib-nanoFramework.Networking.Sntp | ||
lib-nanoFramework.Hardware.Stm32 | ||
lib-nanoFramework.System.Math | ||
condition: and( succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/v') ) | ||
displayName: Update dependent class libs | ||
|
||
# step from template @ nf-tools repo | ||
# report error | ||
- template: azure-pipelines-templates/discord-webhook-task.yml@templates | ||
parameters: | ||
status: 'failure' | ||
webhookUrl: '$(DiscordWebhook)' | ||
message: '' |
Oops, something went wrong.