@@ -179,6 +179,7 @@ jobs:
179
179
if [ "X${{matrix.boards}}" = "Xcodechecker" ]; then
180
180
./cibuild.sh -c -A -N -R --codechecker testlist/${{matrix.boards}}.dat
181
181
else
182
+ ( sleep 7200 ; echo Killing pytest after timeout... ; pkill -f pytest )&
182
183
./cibuild.sh -c -A -N -R -S testlist/${{matrix.boards}}.dat
183
184
fi
184
185
@@ -330,3 +331,55 @@ jobs:
330
331
name : msys2-${{matrix.boards}}-builds
331
332
path : buildartifacts/
332
333
continue-on-error : true
334
+
335
+ # Select the msvc Builds based on PR Arch Label
336
+ msvc-Arch :
337
+ uses : apache/nuttx-apps/.github/workflows/arch.yml@master
338
+ needs : Fetch-Source
339
+ with :
340
+ os : msvc
341
+ boards : |
342
+ ["msvc_placeholder_with_sim_keyword"]
343
+
344
+ # Build with MSVC in Windows native
345
+ msvc :
346
+ needs : msvc-Arch
347
+ if : ${{ needs.msvc-Arch.outputs.skip_all_builds != '1' }}
348
+ runs-on : windows-latest
349
+ steps :
350
+ - uses : actions/checkout@v4
351
+ # Set up Python environment and install kconfiglib
352
+ - name : Set up Python and install kconfiglib
353
+ uses : actions/setup-python@v5
354
+ with :
355
+ python-version : ' 3.10'
356
+ - name : Install kconfiglib
357
+ run : |
358
+ pip install kconfiglib
359
+
360
+ - run : git config --global core.autocrlf false
361
+
362
+ - name : Download Source Artifact
363
+ uses : actions/download-artifact@v4
364
+ with :
365
+ name : source-bundle
366
+ path : .
367
+
368
+ - name : Extract sources
369
+ run : |
370
+ 7z x sources.tar.gz -y
371
+ 7z x sources.tar -y
372
+
373
+ - name : Run Builds
374
+ run : |
375
+ "ARTIFACTDIR=${{github.workspace}}\sources\buildartifacts" >> $env:GITHUB_ENV
376
+ git config --global --add safe.directory ${{github.workspace}}\sources\nuttx
377
+ git config --global --add safe.directory ${{github.workspace}}\sources\apps
378
+ cd sources\nuttx\tools\ci
379
+ .\cibuild.ps1 -n -i -A -C -N testlist\windows.dat
380
+
381
+ - uses : actions/upload-artifact@v4
382
+ with :
383
+ name : msvc-builds
384
+ path : ./sources/buildartifacts/
385
+ continue-on-error : true
0 commit comments