Skip to content

Commit

Permalink
Work CI-CD
Browse files Browse the repository at this point in the history
- Fix missing cmake template when building in AZDO without community targets.

***NO_CI***
  • Loading branch information
josesimoes committed Feb 15, 2023
1 parent 25bbb20 commit a02925b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions azure-pipelines-templates/build-preparations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,12 @@ steps:
inputs:
targetType: 'inline'
script: New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force

- task: PowerShell@2
displayName: Add dummy cmake presets
condition: ne(variables['Build.Repository.Name'], 'nanoframework/nf-Community-Targets')
inputs:
workingDirectory: $(Build.SourcesDirectory)\targets-community
targetType: 'inline'
script: |
New-Item -Path . -Name "CMakePresets.json" -ItemType "file" -Value "{`n""version"": 4,`n""include"": []`n}"

0 comments on commit a02925b

Please sign in to comment.