Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RCORE-1990 Add X86 Windows Release builder to evergreen #7383

Merged
merged 4 commits into from
Mar 1, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 40 additions & 1 deletion evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,18 @@ functions:
set_cmake_var generator_vars CMAKE_MAKE_PROGRAM PATH "${ninja|ninja}"
fi

if [ -n "${cmake_generator_platform|}" ]; then
set_cmake_var realm_vars CMAKE_GENERATOR_PLATFORM STRING "${cmake_generator_platform}"
fi

if [ -n "${curl_base|}" ]; then
set_cmake_var curl_vars CURL_LIBRARY PATH "$(./evergreen/abspath.sh ${curl_base}/lib/curl.lib)"
set_cmake_var curl_vars CURL_INCLUDE_DIR PATH "$(./evergreen/abspath.sh ${curl_base}/include)"
set_cmake_var baas_vars REALM_CURL_CACERTS PATH "$(./evergreen/abspath.sh "${curl_base}/bin/cacert.pem")"
fi

set_cmake_var realm_vars REALM_NO_TESTS BOOL ${no_tests|Off}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a flag that will be used in the future for compile lib only tasks?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I guess so. It's how we make sure that compile-only builders are actually compile only in Jenkins.


echo "Running cmake with these vars:"
cat cmake_vars/*.txt | tee cmake_vars.txt
echo
Expand Down Expand Up @@ -955,7 +962,7 @@ tasks:

# These are local object store tests; baas is not started, however some use the sync server
- name: object-store-tests
tags: [ "object_store_test_suite", "for_pull_requests" ]
tags: [ "object_store_test_suite", "for_pull_requests", "test_suite" ]
exec_timeout_secs: 3600
commands:
- func: "compile"
Expand Down Expand Up @@ -1194,6 +1201,21 @@ task_groups:
- .object_store_test_suite
- package

# Runs core/sync/local object store tests
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine. But FYI we now have a "CombinedTests" build target that runs core/sync/object-store tests in a single binary.

- name: compile_local_tests
max_hosts: 1
setup_group_can_fail_task: true
setup_group:
- func: "fetch source"
- func: "fetch binaries"
teardown_task:
- func: "upload test results"
timeout:
- func: "run hang analyzer"
tasks:
- compile
- .test_suite

# Runs object-store-tests against baas running on remote host
- name: compile_test
max_hosts: 1
Expand Down Expand Up @@ -1839,3 +1861,20 @@ buildvariants:
python3: "/cygdrive/c/python/python37/python.exe"
tasks:
- name: compile_test

- name: windows-x86-release
display_name: "Windows X86 (Release)"
run_on: windows-vsCurrent-large
expansions:
cmake_url: "https://s3.amazonaws.com/static.realm.io/evergreen-assets/cmake-3.26.3-windows-x86_64.zip"
cmake_bindir: "./cmake-3.26.3-windows-x86_64/bin"
cmake_generator: "Visual Studio 16 2019"
cmake_generator_platform: "Win32"
cmake_build_type: "Release"
max_jobs: $(($(grep -c proc /proc/cpuinfo) / 2))
fetch_missing_dependencies: On
python3: "/cygdrive/c/python/python37/python.exe"
disable_tests_against_baas: On
tasks:
- name: compile_local_tests

Loading