Skip to content

Commit

Permalink
Specify test targets in separate ninja commands
Browse files Browse the repository at this point in the history
  • Loading branch information
oxve committed May 16, 2024
1 parent 3270b99 commit 44aee2d
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .github/actions/build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,30 @@ 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
ln -s /root/starboard-toolchains /github/home/starboard-toolchains
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
Expand Down

0 comments on commit 44aee2d

Please sign in to comment.