From 44aee2d3b800781770c3cf808bcf715ed7001487 Mon Sep 17 00:00:00 2001 From: Oscar Vestlie Date: Wed, 15 May 2024 17:28:38 -0700 Subject: [PATCH] Specify test targets in separate ninja commands --- .github/actions/build/action.yaml | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/.github/actions/build/action.yaml b/.github/actions/build/action.yaml index 43e53cb55e7..596232f8fa7 100644 --- a/.github/actions/build/action.yaml +++ b/.github/actions/build/action.yaml @@ -26,11 +26,6 @@ runs: else BUILD_PLATFORM=${COBALT_EVERGREEN_LOADER} BUILD_TARGET='loader_app_install elf_loader_sandbox_install native_target/crashpad_handler' - - # TODO(oxv): android-arm hack - if [[ "${BUILD_PLATFORM}" =~ "android-arm" && "${{matrix.config}}" =~ "devel" ]]; then - # TODO(oxv): Don't build everything? - BUILD_TARGET="extension_test_evergreen_loader metrics_test_evergreen_loader graphics_system_test_evergreen_loader dom_test_evergreen_loader media_test_evergreen_loader render_tree_test_evergreen_loader eztime_test_evergreen_loader math_test_evergreen_loader xhr_test_evergreen_loader base_unittests_evergreen_loader url_unittests_evergreen_loader websocket_test_evergreen_loader crx_file_test_evergreen_loader cssom_test_evergreen_loader js_profiler_test_evergreen_loader updater_test_evergreen_loader text_encoding_test_evergreen_loader persistent_settings_test_evergreen_loader watchdog_test_evergreen_loader layout_test_evergreen_loader app_key_files_test_evergreen_loader csp_test_evergreen_loader update_client_test_evergreen_loader audio_test_evergreen_loader slot_management_test_evergreen_loader cobalt_slot_management_test_evergreen_loader drain_file_test_evergreen_loader zip_unittests_evergreen_loader starboard_platform_tests_evergreen_loader bindings_test_evergreen_loader scroll_engine_tests_evergreen_loader speech_test_evergreen_loader css_parser_test_evergreen_loader common_test_evergreen_loader web_animations_test_evergreen_loader loader_test_evergreen_loader overlay_info_test_evergreen_loader memory_store_test_evergreen_loader components_metrics_tests_evergreen_loader layout_tests_evergreen_loader base_test_evergreen_loader renderer_test_evergreen_loader web_test_evergreen_loader app_key_test_evergreen_loader chromium_media_test_evergreen_loader dom_parser_test_evergreen_loader png_utils_test_evergreen_loader elf_loader_test_evergreen_loader media_capture_test_evergreen_loader webdriver_test_evergreen_loader network_test_evergreen_loader crypto_unittests_evergreen_loader cwrappers_test_evergreen_loader nplb_evergreen_loader net_unittests_evergreen_loader browser_test_evergreen_loader web_platform_tests_evergreen_loader storage_test_evergreen_loader media_session_test_evergreen_loader media_stream_test_evergreen_loader crypto_impl_test_evergreen_loader worker_test_evergreen_loader" fi # GitHub Runners have home set to /github/home. if [ -d /root/starboard-toolchains ]; then @@ -38,7 +33,23 @@ runs: fi # Set Ninja output format NINJA_STATUS="[%e sec | %f/%t %u remaining | %c/sec | j%r] " - ninja -C ${GITHUB_WORKSPACE}/out/${BUILD_PLATFORM}_${{matrix.config}} ${BUILD_TARGET} + # TODO(oxv): android-arm hack + ninja -C ${GITHUB_WORKSPACE}/out/${BUILD_PLATFORM}_${{matrix.config}} extension_test_evergreen_loader metrics_test_evergreen_loader graphics_system_test_evergreen_loader dom_test_evergreen_loader + ninja -C ${GITHUB_WORKSPACE}/out/${BUILD_PLATFORM}_${{matrix.config}} media_test_evergreen_loader render_tree_test_evergreen_loader eztime_test_evergreen_loader math_test_evergreen_loader + ninja -C ${GITHUB_WORKSPACE}/out/${BUILD_PLATFORM}_${{matrix.config}} xhr_test_evergreen_loader base_unittests_evergreen_loader url_unittests_evergreen_loader websocket_test_evergreen_loader + ninja -C ${GITHUB_WORKSPACE}/out/${BUILD_PLATFORM}_${{matrix.config}} crx_file_test_evergreen_loader cssom_test_evergreen_loader js_profiler_test_evergreen_loader updater_test_evergreen_loader + ninja -C ${GITHUB_WORKSPACE}/out/${BUILD_PLATFORM}_${{matrix.config}} text_encoding_test_evergreen_loader persistent_settings_test_evergreen_loader watchdog_test_evergreen_loader layout_test_evergreen_loader + ninja -C ${GITHUB_WORKSPACE}/out/${BUILD_PLATFORM}_${{matrix.config}} app_key_files_test_evergreen_loader csp_test_evergreen_loader update_client_test_evergreen_loader audio_test_evergreen_loader + ninja -C ${GITHUB_WORKSPACE}/out/${BUILD_PLATFORM}_${{matrix.config}} slot_management_test_evergreen_loader cobalt_slot_management_test_evergreen_loader drain_file_test_evergreen_loader zip_unittests_evergreen_loader + ninja -C ${GITHUB_WORKSPACE}/out/${BUILD_PLATFORM}_${{matrix.config}} starboard_platform_tests_evergreen_loader bindings_test_evergreen_loader scroll_engine_tests_evergreen_loader speech_test_evergreen_loader + ninja -C ${GITHUB_WORKSPACE}/out/${BUILD_PLATFORM}_${{matrix.config}} css_parser_test_evergreen_loader common_test_evergreen_loader web_animations_test_evergreen_loader loader_test_evergreen_loader + ninja -C ${GITHUB_WORKSPACE}/out/${BUILD_PLATFORM}_${{matrix.config}} overlay_info_test_evergreen_loader memory_store_test_evergreen_loader components_metrics_tests_evergreen_loader + ninja -C ${GITHUB_WORKSPACE}/out/${BUILD_PLATFORM}_${{matrix.config}} layout_tests_evergreen_loader base_test_evergreen_loader renderer_test_evergreen_loader web_test_evergreen_loader app_key_test_evergreen_loader + ninja -C ${GITHUB_WORKSPACE}/out/${BUILD_PLATFORM}_${{matrix.config}} chromium_media_test_evergreen_loader dom_parser_test_evergreen_loader png_utils_test_evergreen_loader elf_loader_test_evergreen_loader + ninja -C ${GITHUB_WORKSPACE}/out/${BUILD_PLATFORM}_${{matrix.config}} media_capture_test_evergreen_loader webdriver_test_evergreen_loader network_test_evergreen_loader crypto_unittests_evergreen_loader + ninja -C ${GITHUB_WORKSPACE}/out/${BUILD_PLATFORM}_${{matrix.config}} cwrappers_test_evergreen_loader nplb_evergreen_loader net_unittests_evergreen_loader browser_test_evergreen_loader + ninja -C ${GITHUB_WORKSPACE}/out/${BUILD_PLATFORM}_${{matrix.config}} web_platform_tests_evergreen_loader storage_test_evergreen_loader media_session_test_evergreen_loader media_stream_test_evergreen_loader + ninja -C ${GITHUB_WORKSPACE}/out/${BUILD_PLATFORM}_${{matrix.config}} crypto_impl_test_evergreen_loader worker_test_evergreen_loader shell: bash - name: Show Sccache Stats run: sccache -s