Skip to content

Commit 64429e7

Browse files
committed
Work CI-CD
- Update azure pipeline yaml. - Fix nuspec. - Add nuget assets. - Update projects to migrate to VS2022. - Fix typos. ***NO_CI***
1 parent 122c87f commit 64429e7

12 files changed

+30
-36
lines changed

.github_changelog_generator

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
user=nanoframework
2-
project=lib-System.Device.I2s
2+
project=System.Device.I2s
33
issues=true
44
add_issues_wo_labels=false
55
add_pr_wo_labels=false

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Contributor Code of Conduct
22

3-
Please refer to the contributor Code of Conduct at the Home repository [here](https://github.com/nanoframework/.github/blob/master/CODE_OF_CONDUCT.md).
3+
Please refer to the contributor Code of Conduct at the Home repository [here](https://github.com/nanoframework/.github/blob/main/CODE_OF_CONDUCT.md).

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Contributing to **nanoFramework**
22

3-
Please refer to the contribution guidelines at the Home repository [here](https://github.com/nanoframework/.github/blob/master/CONTRIBUTING.md).
3+
Please refer to the contribution guidelines at the Home repository [here](https://github.com/nanoframework/.github/blob/main/CONTRIBUTING.md).
File renamed without changes.

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-nanoframework.System.Device.I2s&metric=alert_status)](https://sonarcloud.io/dashboard?id=nanoframework_lib-nanoframework.System.Device.I2s) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-nanoframework.System.Device.I2s&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=nanoframework_lib-nanoframework.System.Device.I2s) [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![NuGet](https://img.shields.io/nuget/dt/nanoFramework.System.Device.I2s.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.System.Device.I2s/) [![#yourfirstpr](https://img.shields.io/badge/first--timers--only-friendly-blue.svg)](https://github.com/nanoframework/Home/blob/master/CONTRIBUTING.md) [![Discord](https://img.shields.io/discord/478725473862549535.svg?logo=discord&logoColor=white&label=Discord&color=7289DA)](https://discord.gg/gCyBu8T)
1+
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-nanoframework.System.Device.I2s&metric=alert_status)](https://sonarcloud.io/dashboard?id=nanoframework_lib-nanoframework.System.Device.I2s) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-nanoframework.System.Device.I2s&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=nanoframework_lib-nanoframework.System.Device.I2s) [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![NuGet](https://img.shields.io/nuget/dt/nanoFramework.System.Device.I2s.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.System.Device.I2s/) [![#yourfirstpr](https://img.shields.io/badge/first--timers--only-friendly-blue.svg)](https://github.com/nanoframework/Home/blob/main/CONTRIBUTING.md) [![Discord](https://img.shields.io/discord/478725473862549535.svg?logo=discord&logoColor=white&label=Discord&color=7289DA)](https://discord.gg/gCyBu8T)
22

3-
![nanoFramework logo](https://github.com/nanoframework/Home/blob/master/resources/logo/nanoFramework-repo-logo.png)
3+
![nanoFramework logo](https://raw.githubusercontent.com/nanoframework/Home/main/resources/logo/nanoFramework-repo-logo.png)
44

55
-----
66

7-
### Welcome to the **nanoFramework** System.Device.I2s Library repository!
7+
### Welcome to the .NET **nanoFramework** System.Device.I2s Library repository
88

99
## Build status
1010

1111
| Component | Build Status | NuGet Package |
1212
|:-|---|---|
13-
| System.Device.I2s | [![Build Status](https://dev.azure.com/nanoframework/System.Device.I2s/_apis/build/status/nanoframework.lib-System.Device.I2s?branchName=develop)](https://dev.azure.com/nanoframework/System.Device.I2s/_build/latest?definitionId=64&branchName=master) | [![NuGet](https://img.shields.io/nuget/v/nanoFramework.System.Device.I2s.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.System.Device.I2s/) |
14-
| System.Device.I2s (preview) | [![Build Status](https://dev.azure.com/nanoframework/System.Device.I2s/_apis/build/status/nanoframework.lib-System.Device.I2s?branchName=develop)](https://dev.azure.com/nanoframework/System.Device.I2s/_build/latest?definitionId=64&branchName=develop) | [![](https://badgen.net/badge/NuGet/preview/D7B023?icon=https://simpleicons.now.sh/azuredevops/fff)](https://dev.azure.com/nanoframework/feed/_packaging?_a=package&feed=sandbox&package=nanoFramework.System.Device.I2s&protocolType=NuGet&view=overview) |
13+
| System.Device.I2s | [![Build Status](https://dev.azure.com/nanoframework/System.Device.I2s/_apis/build/status/nanoframework.lib-System.Device.I2s?branchName=develop)](https://dev.azure.com/nanoframework/System.Device.I2s/_build/latest?definitionId=64&branchName=main) | [![NuGet](https://img.shields.io/nuget/v/nanoFramework.System.Device.I2s.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.System.Device.I2s/) |
14+
| System.Device.I2s (preview) | [![Build Status](https://dev.azure.com/nanoframework/System.Device.I2s/_apis/build/status/nanoframework.lib-System.Device.I2s?branchName=develop)](https://dev.azure.com/nanoframework/System.Device.I2s/_build/latest?definitionId=64&branchName=develop) | [![NuGet](https://img.shields.io/nuget/vpre/nanoFramework.System.Device.I2s.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.System.Device.I2s/) |
1515

1616
## Feedback and documentation
1717

@@ -21,15 +21,15 @@ Join our Discord community [here](https://discord.gg/gCyBu8T).
2121

2222
## Credits
2323

24-
The list of contributors to this project can be found at [CONTRIBUTORS](https://github.com/nanoframework/Home/blob/master/CONTRIBUTORS.md).
24+
The list of contributors to this project can be found at [CONTRIBUTORS](https://github.com/nanoframework/Home/blob/main/CONTRIBUTORS.md).
2525

2626
## License
2727

2828
The **nanoFramework** Class Libraries are licensed under the [MIT license](LICENSE).
2929

3030
## Code of Conduct
3131

32-
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community.
32+
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behaviour in our community.
3333
For more information see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).
3434

3535
### .NET Foundation

System.Device.I2s/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,9 @@
1111
// set of attributes. Change these attribute values to modify the information
1212
// associated with an assembly.
1313
[assembly: AssemblyTitle("nanoFramework System.Device.I2c")]
14-
[assembly: AssemblyDescription("")]
1514
[assembly: AssemblyCompany(".NET nanoFramework contributors")]
1615
[assembly: AssemblyProduct(".NET nanoFramework System.Device.I2c")]
1716
[assembly: AssemblyCopyright("Copyright (c) .NET Foundation and Contributors")]
18-
[assembly: AssemblyTrademark("")]
19-
[assembly: AssemblyCulture("")]
2017

2118
////////////////////////////////////////////////////////////////
2219
// update this whenever the native assembly signature changes //

System.Device.I2s/System.Device.I2s.nfproj

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup Label="Globals">
4-
<NanoFrameworkProjectSystemPath>$(MSBuildToolsPath)..\..\..\nanoFramework\v1.0\</NanoFrameworkProjectSystemPath>
4+
<NanoFrameworkProjectSystemPath>$(MSBuildExtensionsPath)\nanoFramework\v1.0\</NanoFrameworkProjectSystemPath>
55
</PropertyGroup>
66
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props')" />
77
<PropertyGroup>
@@ -37,11 +37,6 @@
3737
<InProject>false</InProject>
3838
</NFMDP_PE_ExcludeClassByName>
3939
</ItemGroup>
40-
<ItemGroup>
41-
<NFMDP_PE_LoadHints Include="..\packages\nanoFramework.CoreLibrary.1.10.3-preview.7\lib\mscorlib.dll">
42-
<InProject>false</InProject>
43-
</NFMDP_PE_LoadHints>
44-
</ItemGroup>
4540
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.props')" />
4641
<ItemGroup>
4742
<Compile Include="I2sBitsPerSample.cs" />

assets/nf-logo.png

8.98 KB
Loading
File renamed without changes.

azure-pipelines.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@ trigger:
22
branches:
33
include: [main, develop, "release-*" ]
44
paths:
5-
exclude: ["*.md", .gitignore]
5+
exclude: [README.md, CHANGELOG.md, CODE_OF_CONDUCT.md, LICENSE.md, NuGet.Config, .github_changelog_generator, .gitignore]
66
tags:
77
include: ["v*"]
88

99
# PR always trigger build
10+
pr:
11+
autoCancel: true
1012

1113
# add nf-tools repo to resources (for Azure Pipelines templates)
1214
resources:
@@ -20,12 +22,11 @@ pool:
2022
vmImage: 'windows-2019'
2123

2224
variables:
23-
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
24-
solution: '**/*.sln'
25+
DOTNET_NOLOGO: true
26+
solution: 'nanoFramework.System.Device.I2s*.sln'
2527
buildPlatform: 'Any CPU'
2628
buildConfiguration: 'Release'
2729
nugetPackageName: 'nanoFramework.System.Device.I2s'
28-
repoName: 'System.Device.I2s'
2930

3031
steps:
3132

0 commit comments

Comments
 (0)