-
Notifications
You must be signed in to change notification settings - Fork 170
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
Changes from 2 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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} | ||
|
||
echo "Running cmake with these vars:" | ||
cat cmake_vars/*.txt | tee cmake_vars.txt | ||
echo | ||
|
@@ -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" | ||
|
@@ -1194,6 +1201,21 @@ task_groups: | |
- .object_store_test_suite | ||
- package | ||
|
||
# Runs core/sync/local object store tests | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 | ||
|
@@ -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 | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.