Skip to content

Commit

Permalink
Add c++20 builder on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jedelbo committed Jul 2, 2024
1 parent e923527 commit edc77ab
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ functions:
set_cmake_var compiler_vars CMAKE_CXX_COMPILER PATH $(./evergreen/abspath.sh "${cxx_compiler}")
fi
if [ -n "${cxx_standard|}" ]; then
set_cmake_var realm_vars CMAKE_CXX_STANDARD STRING "${cxx_standard}"
fi
if [[ -z "${disable_tests_against_baas|}" && -z "${no_tests|}" ]]; then
scheme="http"
set_cmake_var baas_vars REALM_ENABLE_AUTH_TESTS BOOL On
Expand Down Expand Up @@ -1869,6 +1873,21 @@ buildvariants:
tasks:
- name: compile_test

- name: windows-64-cxx20
display_name: "Windows x86_64 (c++20)"
run_on: windows-vsCurrent-large
expansions:
cmake_bindir: "/cygdrive/c/Program Files/CMake/bin"
cmake_generator: "Visual Studio 16 2019"
extra_flags: "-A x64"
max_jobs: $(($(grep -c proc /proc/cpuinfo) / 2))
fetch_missing_dependencies: On
curl_base: "/cygdrive/c/curl"
python3: "/cygdrive/c/python/python37/python.exe"
cxx_standard: 20
tasks:
- name: compile_only

- name: windows-64-encryption
display_name: "Windows x86_64 (Encryption enabled)"
run_on: windows-vsCurrent-large
Expand Down

0 comments on commit edc77ab

Please sign in to comment.