- Update build logic to use this repo instead of building on nf-interpreter copy.

***NO_CI***
This commit is contained in:
josesimoes 2020-07-13 17:08:31 +01:00
Родитель 9f01abd788
Коммит 5bea59807c
1 изменённых файлов: 19 добавлений и 13 удалений

Просмотреть файл

@ -2,28 +2,34 @@
# See LICENSE file in the project root for full license information.
steps:
# clone nf-interpreter repo to launch the build
- task: PowerShell@2
inputs:
targetType: 'inline'
script: git clone https://github.com/nanoframework/nf-interpreter.git -b develop nf-interpreter --depth 1 -q
errorActionPreference: 'stop'
displayName: Clone nf-interpreter repo
# Copy target files to nf-interpreter folder
# clone nf-interpreter repo to launch the build
- checkout: templatesBuild
fetchDepth: 1
# Copy CMSIS-OS target files to nf-interpreter folder
- task: CopyFiles@2
displayName: Copy community target to nf-interpreter
inputs:
sourceFolder: $(Build.SourcesDirectory)\CMSIS-OS
sourceFolder: $(Build.SourcesDirectory)\nf-Community-Targets\CMSIS-OS
targetFolder: $(Build.SourcesDirectory)\nf-interpreter\targets-community\CMSIS-OS
cleanTargetFolder: false
overWrite: true
displayName: Copy community target to nf-interpreter
# Copy target files to nf-interpreter folder
# Copy TI-SimpleLinkS target files to nf-interpreter folder
- task: CopyFiles@2
displayName: Copy community target to nf-interpreter
inputs:
sourceFolder: $(Build.SourcesDirectory)\TI-SimpleLink
sourceFolder: $(Build.SourcesDirectory)\nf-Community-Targets\TI-SimpleLink
targetFolder: $(Build.SourcesDirectory)\nf-interpreter\targets-community\TI-SimpleLink
cleanTargetFolder: false
overWrite: true
displayName: Copy community target to nf-interpreter
# Copy install scripts folder from nf-interpreter folder
- task: CopyFiles@2
displayName: Copy nf-interpreter to community target folder
inputs:
sourceFolder: $(Build.SourcesDirectory)\nf-interpreter\install-scripts
targetFolder: $(Build.SourcesDirectory)\install-scripts
cleanTargetFolder: false
overWrite: true