@@ -593,7 +593,14 @@ jobs:
593593 DISABLE_CCACHE : ${{ (github.event_name == 'workflow_dispatch' && inputs.disable_ccache == 'true') && 'true' || (contains(github.event.head_commit.message, '[no-ccache]') && 'true') || 'false' }}
594594 CCACHE_KEY_SUFFIX : ${{ github.event_name == 'workflow_dispatch' && inputs.cache_suffix || '' }}
595595
596- runs-on : ubuntu-latest
596+ # Run on namespace.so instead of `ubuntu-latest`: This seems to provide 20-40% speed improvement
597+ # even if using just 4CPUx8GB RAM. We do this because most processing is I/O bound. The
598+ # 8 CPU provided would perform compilation even faster, however it has a double minute multiplier
599+ # which we would waste during the I/O bound testing.
600+ #
601+ # In the future, if we either have sufficient resources or if the processing moves to be CPU
602+ # bound (parallel testing) this can be updated to the 8x16 profile.
603+ runs-on : namespace-profile-4x8
597604
598605 container :
599606 image : ghcr.io/project-chip/chip-build:174
@@ -825,7 +832,7 @@ jobs:
825832 - name : Build Software Update ota images with new version.
826833 env :
827834 CCACHE_DIR : " ${GITHUB_WORKSPACE}/.ccache"
828- run : >-
835+ run : >-
829836 ./scripts/run_in_build_env.sh "./scripts/build/build_ota_images.sh --out-prefix out/su_ota_images_min --max-range 2
830837 && mv out/su_ota_images_min-v*/*.ota objdir-clone
831838 && rm -rf out/su_ota_images_min-v*"
@@ -879,7 +886,7 @@ jobs:
879886
880887 - name : Verify Testing Support
881888 run : |
882- scripts/run_in_python_env.sh out/venv 'python3 src/python_testing/test_testing/test_ota_images_versions.py -i objdir-clone/chip-ota-requestor-app_v2.min.ota -v 2'
889+ scripts/run_in_python_env.sh out/venv 'python3 src/python_testing/test_testing/test_ota_images_versions.py -i objdir-clone/chip-ota-requestor-app_v2.min.ota -v 2'
883890 scripts/run_in_python_env.sh out/venv 'python3 src/python_testing/test_testing/test_IDM_10_4.py'
884891 scripts/run_in_python_env.sh out/venv 'python3 src/python_testing/test_testing/test_TC_ICDM_2_1_full_pics.py'
885892 scripts/run_in_python_env.sh out/venv 'python3 src/python_testing/test_testing/test_TC_ICDM_2_1_min_pics.py'
0 commit comments