|
15 | 15 | # pylint: disable=line-too-long |
16 | 16 | # fmt: off |
17 | 17 | COMPILE_MATRIX = [ |
18 | | - ('debian92', 'clang', None, ['cyrus']), |
19 | | - ('debian92', 'gcc', None, ['cyrus']), |
20 | | - ('debian10', 'clang', None, ['cyrus']), |
21 | | - ('debian10', 'gcc', None, ['cyrus']), |
22 | | - ('debian11', 'clang', None, ['cyrus']), |
23 | | - ('debian11', 'gcc', None, ['cyrus']), |
24 | | - ('rhel80', 'gcc', None, ['cyrus']), |
| 18 | + # For test matrix. |
| 19 | + ('rhel8-latest', 'gcc', None, ['cyrus']), |
25 | 20 | ('rhel8-zseries', 'gcc', None, ['cyrus']), |
26 | | - ('ubuntu2004', 'clang', None, ['cyrus']), |
27 | | - ('ubuntu2004', 'gcc', None, ['cyrus']), |
28 | 21 | ('ubuntu2004-arm64', 'gcc', None, ['cyrus']), |
29 | 22 | ('windows-vsCurrent', 'vs2017x64', None, ['cyrus']), |
| 23 | + |
| 24 | + # For compile only. |
| 25 | + ('debian11', 'clang', None, ['cyrus']), |
| 26 | + ('debian11', 'gcc', None, ['cyrus']), |
| 27 | + ('debian12', 'clang', None, ['cyrus']), |
| 28 | + ('debian12', 'gcc', None, ['cyrus']), |
| 29 | + ('rhel80', 'gcc', None, ['cyrus']), |
| 30 | + ('ubuntu2004', 'gcc', None, ['cyrus']), |
| 31 | + ('ubuntu2004', 'clang', None, ['cyrus']), |
| 32 | + ('ubuntu2204', 'gcc', None, ['cyrus']), |
| 33 | + ('ubuntu2204', 'clang-12', None, ['cyrus']), |
| 34 | + ('ubuntu2404', 'gcc', None, ['cyrus']), |
| 35 | + ('ubuntu2404', 'clang-14', None, ['cyrus']), |
30 | 36 | ] |
31 | 37 |
|
32 | 38 | # TODO (CDRIVER-3789): test cse with the 'sharded' topology. |
| 39 | +# CSFLE requires 4.2+. QE requires 7.0+ and are skipped on "server" tasks. |
33 | 40 | TEST_MATRIX = [ |
34 | | - # 4.2 and 4.4 not available on rhel8-zseries. |
35 | | - ('rhel8-zseries', 'gcc', None, 'cyrus', ['auth'], ['server'], ['5.0']), |
| 41 | + # rhel8-latest provides 4.2+. |
| 42 | + ('rhel8-latest', 'gcc', None, 'cyrus', ['auth'], ['server', 'replica'], ['4.2', '4.4', '5.0', '6.0', '7.0', '8.0', 'latest']), |
36 | 43 |
|
37 | | - ('windows-vsCurrent', 'vs2017x64', None, 'cyrus', ['auth'], ['server'], ['4.2', '4.4', '5.0', '6.0' ]), |
| 44 | + # windows-vsCurrent provides 4.2+. |
| 45 | + ('windows-vsCurrent', 'vs2017x64', None, 'cyrus', ['auth'], ['server', 'replica'], ['4.2', '4.4', '5.0', '6.0', '7.0', '8.0', 'latest']), |
38 | 46 |
|
39 | | - # Test 7.0+ with a replica set since Queryable Encryption does not support the 'server' topology. Queryable Encryption tests require 7.0+. |
40 | | - ('ubuntu2004', 'gcc', None, 'cyrus', ['auth'], ['server', 'replica'], ['4.4', '5.0', '6.0', '7.0', '8.0', 'latest']), |
41 | | - ('rhel8-zseries', 'gcc', None, 'cyrus', ['auth'], ['server', 'replica'], [ '7.0', '8.0', 'latest']), |
42 | | - ('ubuntu2004-arm64', 'gcc', None, 'cyrus', ['auth'], ['server', 'replica'], ['4.4', '5.0', '6.0', '7.0', '8.0', 'latest']), |
43 | | - ('windows-vsCurrent', 'vs2017x64', None, 'cyrus', ['auth'], ['server', 'replica'], [ '7.0', '8.0', 'latest']), |
| 47 | + # ubuntu2004-arm64 provides 4.4+. |
| 48 | + ('ubuntu2004-arm64', 'gcc', None, 'cyrus', ['auth'], ['server', 'replica'], ['4.4', '5.0', '6.0', '7.0', '8.0', 'latest']), |
44 | 49 |
|
45 | | - # Test 4.2 with Debian 10 since 4.2 does not ship on Ubuntu 20.04+. |
46 | | - ('debian10', 'gcc', None, 'cyrus', ['auth'], ['server', 'replica'], ['4.2']), |
| 50 | + # rhel8-zseries provides 5.0+. |
| 51 | + ('rhel8-zseries', 'gcc', None, 'cyrus', ['auth'], ['server', 'replica'], ['5.0', '6.0', '7.0', '8.0', 'latest']), |
47 | 52 | ] |
48 | 53 | # fmt: on |
49 | 54 | # pylint: enable=line-too-long |
@@ -106,6 +111,8 @@ def variants(): |
106 | 111 | else: |
107 | 112 | tasks.append(task.get_task_ref()) |
108 | 113 |
|
| 114 | + tasks.sort(key=lambda t: t.name) |
| 115 | + |
109 | 116 | return [ |
110 | 117 | BuildVariant( |
111 | 118 | name=TAG, |
|
0 commit comments