Skip to content

Commit e613d4c

Browse files
committed
Work CI-CD
- Replace version check with nanovc tool. ***NO_CI***
1 parent 94e28e7 commit e613d4c

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.pipeline-assets/pipeline-build-solutions.PS1

+3-2
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,9 @@ foreach ($folder in $deviceFolders)
169169

170170
########################
171171
# perform versions check
172-
Invoke-Expression "$env:Build_Repository_LocalPath\nf-tools\azure-pipelines-scripts\versions-check.ps1 -SolutionToCheck $solutionFile -WorkingDirectory $env:BUILD_SOURCESDIRECTORY\nanoFramework.IoT.Device\devices\$folder\ -NuspecFile $nuspecFile"
173-
172+
173+
nanovc --working-directory $env:BUILD_SOURCESDIRECTORY\nanoFramework.IoT.Device\devices\$folder --solution-to-check $solutionFile --nuspec-file $nuspecFile
174+
174175
if($LASTEXITCODE -eq 0)
175176
{
176177
"" | Write-Host -ForegroundColor Yellow

azure-pipelines.yml

+8
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@ steps:
4848
custom: tool
4949
arguments: install -g nbgv
5050

51+
- task: DotNetCoreCLI@2
52+
displayName: Install nanovc tool
53+
condition: succeeded()
54+
inputs:
55+
command: custom
56+
custom: tool
57+
arguments: install -g nanovc --add-source https://pkgs.dev.azure.com/nanoframework/feed/_packaging/sandbox/nuget/v3/index.json
58+
5159
- task: InstallnFBuildComponents@1
5260
condition: succeeded()
5361
displayName: Install nanoFramework MSBuild components

0 commit comments

Comments
 (0)