- Update AZDO yaml, PR template and README.

***NO_CI***
This commit is contained in:
José Simões 2022-09-22 09:53:25 +01:00
Родитель 489e376047
Коммит 0dda215cd5
3 изменённых файлов: 70 добавлений и 0 удалений

1
.github/PULL_REQUEST_TEMPLATE.md поставляемый
Просмотреть файл

@ -25,6 +25,7 @@
- [ ] TI_CC1352P1_LAUNCHXL_868
- [ ] TI_CC1352P1_LAUNCHXL_915
- [ ] LilygoTWatch2020
- [ ] LilygoTWatch2021
- [ ] BUILD ALL
## Motivation and Context

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

@ -32,6 +32,7 @@ The provided boards are **NOT** supported by the .NET **nanoFramework** team and
| [NETDUINO3_WIFI](ChibiOS/NETDUINO3_WIFI) | [![Latest Version @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/net-nanoframework/nanoframework-images-community-targets/raw/NETDUINO3_WIFI/latest/x/?render=true)](https://cloudsmith.io/~net-nanoframework/repos/nanoframework-images-community-targets/packages/detail/raw/NETDUINO3_WIFI/latest/) | STM32F427VI | 168 MHz | 1408kB | 164kB |
| [BrainPad2](ChibiOS/BrainPad2) | [![Latest Version @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/net-nanoframework/nanoframework-images-community-targets/raw/BrainPad2/latest/x/?render=true)](https://cloudsmith.io/~net-nanoframework/repos/nanoframework-images-community-targets/packages/detail/raw/BrainPad2/latest/) | STM32F401RE | 84 MHz | 512 kB | 96 kB |
| [Lilygo TWatch 2020](http://www.lilygo.cn/prod_view.aspx?TypeId=50053&Id=1380&FId=t3:50053:3) | [![Latest Version @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/net-nanoframework/nanoframework-images-community-targets/raw/LilygoTWatch2020/latest/x/?render=true)](https://cloudsmith.io/~net-nanoframework/repos/nanoframework-images-community-targets/packages/detail/raw/LilygoTWatch2020/latest/) | Esp32 V3 | 240 MHz | 16MB | 8MB |
| [Lilygo TWatch 2021](http://www.lilygo.cn/prod_view.aspx?TypeId=50053&Id=1380&FId=t3:50053:3) | [![Latest Version @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/net-nanoframework/nanoframework-images-community-targets/raw/LilygoTWatch2021/latest/x/?render=true)](https://cloudsmith.io/~net-nanoframework/repos/nanoframework-images-community-targets/packages/detail/raw/LilygoTWatch2021/latest/) | Esp32 V3 | 240 MHz | 16MB | 8MB |
The above firmware builds include support for the class libraries and features marked below.
@ -57,6 +58,7 @@ The above firmware builds include support for the class libraries and features m
| NETDUINO3_WIFI | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | | | | | | |
| BrainPad2 | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | | | | | | |
| LilygoTWatch2020 | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | | :heavy_check_mark: | | :heavy_check_mark: | :heavy_check_mark: |
| LilygoTWatch2021 | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | | :heavy_check_mark: | | :heavy_check_mark: | :heavy_check_mark: |
</details>

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

@ -1079,6 +1079,71 @@ jobs:
buildDirectory: '$(Build.SourcesDirectory)\nf-interpreter\build'
- template: azure-pipelines-templates/publish-cloudsmith.yml@templatesBuild
##############################
- job: Build_LilygoTWatch2021
condition: >-
or(
contains(dependencies.Get_Commit_Message.outputs['GetCommit.COMMIT_MESSAGE'], '[x] LilygoTWatch2021'),
contains(dependencies.Get_Commit_Message.outputs['GetCommit.COMMIT_MESSAGE'], '[x] BUILD ALL'),
contains(dependencies.Check_Build_Options.outputs['BuildOptions.COMMIT_MESSAGE_FROMPR'], '[x] LilygoTWatch2021'),
contains(dependencies.Check_Build_Options.outputs['BuildOptions.COMMIT_MESSAGE_FROMPR'], '[x] BUILD ALL'),
eq(variables['BUILD_ALL'], 'true'),
eq(variables['BUILD_LilygoTWatch2021'], 'true'),
eq(dependencies.Check_Build_Options.outputs['BuildOptions.GO'], 'True')
)
dependsOn:
- Get_Commit_Message
- Check_Build_Options
pool:
vmImage: 'windows-latest'
variables:
TargetBoard: ESP32
TargetSeries: 'esp32'
TargetPlatform: 'esp32'
IDF_PATH: 'D:/a/1/s/esp-idf'
PIP_CACHE_DIR: $(Pipeline.Workspace)/.pip
BuildOptions:
IDF_Target: esp32
TargetName: LilygoTWatch2021
PackageName: LilygoTWatch2021
# creates a counter and assigns it to the revision variable
REVISION: $[counter('LilygoTWatch2021_versioncounter_1_8_0', 0)]
steps:
- checkout: self
fetchDepth: 1
- checkout: templatesBuild
fetchDepth: 1
- checkout: esp32_idf
fetchDepth: 1
- template: azure-pipelines-templates/clone-nf-interpreter-repo.yml
- template: azure-pipelines-templates/build-preparations.yml@templatesBuild
- template: azure-pipelines-templates/nb-gitversioning.yml@templatesBuild
parameters:
repoDirectory: '$(Build.SourcesDirectory)\nf-interpreter'
- template: azure-pipelines-templates/download-install-esp32-build-components.yml@templatesBuild
- template: azure-pipelines-templates/download-install-ninja.yml@templatesBuild
- template: azure-pipelines-templates/build-espressif-esp32-targets.yml@templatesBuild
parameters:
buildDirectory: $(Build.SourcesDirectory)\nf-interpreter\build
- task: CopyFiles@1
condition: succeeded()
displayName: Copying bootloader
inputs:
sourceFolder: '$(Build.SourcesDirectory)\nf-interpreter\build\bootloader'
Contents: |
bootloader.bin
TargetFolder: '$(Build.ArtifactStagingDirectory)\$(TargetPublishName)'
flattenFolders: true
- template: azure-pipelines-templates/pack-publish-artifacts.yml@templatesBuild
parameters:
buildDirectory: '$(Build.SourcesDirectory)\nf-interpreter\build'
- template: azure-pipelines-templates/publish-cloudsmith.yml@templatesBuild
##############################
- job: Build_NETDUINO3_WIFI
condition: >-
@ -1153,6 +1218,7 @@ jobs:
- Build_TI_CC1352P1_LAUNCHXL_915
- Build_PybStick2x
- Build_LilygoTWatch2020
- Build_LilygoTWatch2021
- Build_NETDUINO3_WIFI
@ -1175,6 +1241,7 @@ jobs:
failed('Build_TI_CC1352P1_LAUNCHXL_915'),
failed('Build_PybStick2x'),
failed('Build_LilygoTWatch2020')
failed('Build_LilygoTWatch2021')
failed('Build_NETDUINO3_WIFI'),
)