walnux/tools/ci/testlist
simbit18 34c4b15b4d tools/ci: Added CI system on Windows Native
This PR adds support for the CI system for native Windows as well. It allows you to build NuttX on GitHub and test it locally for Windows users.

With these CI tools with PowerShell scripts, it is possible to build NuttX for Windows Native using (for now only) Cmake + Ninja with the same logic as the CI system with Bash scripts.

This allows the msvc job to be used not only with the simulator (currently only with Visual Studio 17 2022), but also with other architectures using the same Windows runner to get more coverage and avoid future breakage.
As with the other jobs, we use artifacts to save the compilation result at the end of the workflow execution (previously for the simulator it was not done).

The proposed solution is based on the following additions and modified:

Modified Files
buildyml -> only CI Jobs MSVC

New Files in tools/
ci/cibuild.ps1 -> Added Powershell script for Run the CI Builds
ci/platforms/windows.ps1 -> Added Powershell script for installing toolchains and tools.
testlist/windows.dat -> Target (Add sim (msvc), risc-v arm)
tools/testbuild.ps1

We tested the NuttX build on GitHub and locally.

How we build on GitHub and test locally.

Locally
cd .\nuttx\tools\ci\

.\cibuild.ps1 -n -i -A -C -N .\testlist\windows.dat

Signed-off-by: simbit18 <simbit18@gmail.com>
2025-03-19 19:59:44 +08:00
..
arm-01.dat
arm-02.dat
arm-03.dat
arm-04.dat
arm-05.dat build(qemu):add a qemu compilation configuration with application 2024-11-14 22:50:49 +08:00
arm-06.dat CI: Split the Build Job arm-05 into multiple smaller jobs 2024-10-09 13:45:26 +08:00
arm-07.dat CI: Split the Build Job arm-05 into multiple smaller jobs 2024-10-09 13:45:26 +08:00
arm-08.dat CI: Split the Build Job arm-05 into multiple smaller jobs 2024-10-09 13:45:26 +08:00
arm-09.dat boards/stm32: split nucleo-f4x1re into separate boards 2024-11-19 13:28:42 +01:00
arm-10.dat CI: Split the Build Job arm-05 into multiple smaller jobs 2024-10-09 13:45:26 +08:00
arm-11.dat CI: Split the Build Job arm-05 into multiple smaller jobs 2024-10-09 13:45:26 +08:00
arm-12.dat CI: Split the Build Job arm-05 into multiple smaller jobs 2024-10-09 13:45:26 +08:00
arm-13.dat boards/arm/stm32f7: separate nucleo-144 board into individual boards 2024-10-21 09:23:44 +08:00
arm-14.dat CI: Split the Build Job arm-05 into multiple smaller jobs 2024-10-09 13:45:26 +08:00
arm64-01.dat CI: Split the Build Jobs for Arm64 and x86_64 2024-10-20 09:49:13 +08:00
codechecker.dat
macos.dat tools/ci/testlist/macos.dat: fix path esp32c3-legacy 2024-03-22 13:20:02 +08:00
msys2.dat boards/stm32: split nucleo-f4x1re into separate boards 2024-11-19 13:28:42 +01:00
other.dat CI: Split the Build Jobs for Arm64 and x86_64 2024-10-20 09:49:13 +08:00
risc-v-01.dat CI: Split the RISC-V Build Jobs into smaller jobs 2024-10-10 08:44:02 +08:00
risc-v-02.dat CI: Split the RISC-V Build Jobs into smaller jobs 2024-10-10 08:44:02 +08:00
risc-v-03.dat CI: Split the RISC-V Build Jobs into smaller jobs 2024-10-10 08:44:02 +08:00
risc-v-04.dat CI: Split the RISC-V Build Jobs into smaller jobs 2024-10-10 08:44:02 +08:00
risc-v-05.dat CI: Split the RISC-V Build Jobs into smaller jobs 2024-10-10 08:44:02 +08:00
risc-v-06.dat CI: Move rv-virt:python from risc-v-06 to risc-v-07 2024-12-12 23:38:35 +08:00
risc-v-07.dat CI: Move rv-virt:python from risc-v-06 to risc-v-07 2024-12-12 23:38:35 +08:00
sim-01.dat CI: Split the targets in sim-01 and add sim-03 2024-10-22 08:55:20 +08:00
sim-02.dat CI: Split the targets in sim-01 and add sim-03 2024-10-22 08:55:20 +08:00
sim-03.dat sim/tflm: add tflite-micro demo into ci build 2024-11-29 18:34:10 +08:00
windows.dat tools/ci: Added CI system on Windows Native 2025-03-19 19:59:44 +08:00
x86_64-01.dat CI: Split the Build Jobs for Arm64 and x86_64 2024-10-20 09:49:13 +08:00
xtensa-01.dat ci: skip config 2024-10-13 11:19:51 +08:00
xtensa-02.dat CI: Move esp32s3-devkit:python from xtensa-02.dat to xtensa-03.dat 2025-03-08 06:49:23 -03:00
xtensa-03.dat CI: Move esp32s3-devkit:python from xtensa-02.dat to xtensa-03.dat 2025-03-08 06:49:23 -03:00