File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
azure-pipelines-templates Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 1
1
# Copyright (c) .NET Foundation and Contributors
2
2
# See LICENSE file in the project root for full license information.
3
3
4
+ parameters :
5
+ - name : repoDirectory
6
+ type : string
7
+ default : $(Build.SourcesDirectory)
8
+
4
9
steps :
5
10
6
11
- task : PowerShell@2
@@ -24,3 +29,12 @@ steps:
24
29
inputs :
25
30
targetType : ' inline'
26
31
script : New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
32
+
33
+ - task : PowerShell@2
34
+ displayName : Add dummy cmake presets
35
+ condition : ne(variables['Build.Repository.Name'], 'nanoframework/nf-Community-Targets')
36
+ inputs :
37
+ workingDirectory : ${{ parameters.repoDirectory }}\targets-community
38
+ targetType : ' inline'
39
+ script : |
40
+ New-Item -Path . -Name "CMakePresets.json" -ItemType "file" -Value "{`n""version"": 4,`n""include"": []`n}"
Original file line number Diff line number Diff line change @@ -465,6 +465,8 @@ jobs:
465
465
fetchDepth : 1
466
466
467
467
- template : azure-pipelines-templates/build-preparations.yml
468
+ parameters :
469
+ repoDirectory : ' $(Build.SourcesDirectory)\nf-interpreter'
468
470
- template : azure-pipelines-templates/nb-gitversioning.yml
469
471
parameters :
470
472
repoDirectory : ' $(Build.SourcesDirectory)\nf-interpreter'
You can’t perform that action at this time.
0 commit comments