@@ -26,70 +26,66 @@ jobs:
26
26
strategy :
27
27
fail-fast : true
28
28
matrix :
29
- build :
30
- [
31
- windows-2022-debug-amd,
32
- linux-kvm-debug-amd,
33
- linux-hyperv-debug-amd,
34
- windows-2022-release-amd,
35
- linux-kvm-release-amd,
36
- linux-hyperv-release-amd,
37
- windows-2022-debug-intel,
38
- linux-kvm-debug-intel,
39
- linux-hyperv-debug-intel,
40
- windows-2022-release-intel,
41
- linux-kvm-release-intel,
42
- linux-hyperv-release-intel,
43
- ]
44
29
include :
45
30
- build : windows-2022-debug-amd
46
31
os : [self-hosted, Windows, X64, "1ES.Pool=hld-win2022-amd"]
47
- hypervisor : none
32
+ hypervisor : hyperv
48
33
config : debug
34
+ arch : amd
49
35
- build : linux-kvm-debug-amd
50
36
os : [self-hosted, Linux, X64, "1ES.Pool=hld-kvm-amd"]
51
37
hypervisor : kvm
52
38
config : debug
53
- - build : linux-hyperv-debug-amd
39
+ arch : amd
40
+ - build : linux-mshv-debug-amd
54
41
os : [self-hosted, Linux, X64, "1ES.Pool=hld-mshv-amd"]
55
- hypervisor : hyperv
42
+ hypervisor : mshv
56
43
config : debug
44
+ arch : amd
57
45
- build : windows-2022-release-amd
58
46
os : [self-hosted, Windows, X64, "1ES.Pool=hld-win2022-amd"]
59
- hypervisor : none
47
+ hypervisor : hyperv
60
48
config : release
49
+ arch : amd
61
50
- build : linux-kvm-release-amd
62
51
os : [self-hosted, Linux, X64, "1ES.Pool=hld-kvm-amd"]
63
52
hypervisor : kvm
64
53
config : release
65
- - build : linux-hyperv-release-amd
54
+ arch : amd
55
+ - build : linux-mshv-release-amd
66
56
os : [self-hosted, Linux, X64, "1ES.Pool=hld-mshv-amd"]
67
- hypervisor : hyperv
57
+ hypervisor : mshv
68
58
config : release
69
59
- build : windows-2022-debug-intel
70
60
os : [self-hosted, Windows, X64, "1ES.Pool=hld-win2022-intel"]
71
- hypervisor : none
61
+ hypervisor : hyperv
72
62
config : debug
63
+ arch : intel
73
64
- build : linux-kvm-debug-intel
74
65
os : [self-hosted, Linux, X64, "1ES.Pool=hld-kvm-intel"]
75
66
hypervisor : kvm
76
67
config : debug
77
- - build : linux-hyperv-debug-intel
68
+ arch : intel
69
+ - build : linux-mshv-debug-intel
78
70
os : [self-hosted, Linux, X64, "1ES.Pool=hld-mshv-intel"]
79
- hypervisor : hyperv
71
+ hypervisor : mshv
80
72
config : debug
73
+ arch : intel
81
74
- build : windows-2022-release-intel
82
75
os : [self-hosted, Windows, X64, "1ES.Pool=hld-win2022-intel"]
83
- hypervisor : none
76
+ hypervisor : hyperv
84
77
config : release
78
+ arch : intel
85
79
- build : linux-kvm-release-intel
86
80
os : [self-hosted, Linux, X64, "1ES.Pool=hld-kvm-intel"]
87
81
hypervisor : kvm
88
82
config : release
89
- - build : linux-hyperv-release-intel
83
+ arch : intel
84
+ - build : linux-mshv-release-intel
90
85
os : [self-hosted, Linux, X64, "1ES.Pool=hld-mshv-intel"]
91
- hypervisor : hyperv
86
+ hypervisor : mshv
92
87
config : release
88
+ arch : intel
93
89
94
90
runs-on : ${{ matrix.os }}
95
91
steps :
@@ -133,7 +129,7 @@ jobs:
133
129
just test-rust ${{ matrix.config }}
134
130
135
131
# with only one driver enabled (driver mshv/kvm feature is ignored on windows) + seccomp + inprocess
136
- just test-rust ${{ matrix.config }} inprocess,seccomp,${{ matrix.hypervisor == 'hyperv ' && 'mshv' || 'kvm' }}
132
+ just test-rust ${{ matrix.config }} inprocess,seccomp,${{ matrix.hypervisor == 'mshv ' && 'mshv' || 'kvm' }}
137
133
138
134
# without any driver (shouldn't compile)
139
135
just test-rust-feature-compilation-fail ${{ matrix.config }}
@@ -155,15 +151,15 @@ jobs:
155
151
156
152
# ## Benchmarks ###
157
153
- name : Install github-cli (Linux mariner)
158
- if : runner.os == 'Linux' && matrix.hypervisor == 'hyperv '
154
+ if : runner.os == 'Linux' && matrix.hypervisor == 'mshv '
159
155
run : sudo dnf install gh -y
160
156
161
157
- name : Install github-cli (Linux ubuntu)
162
158
if : runner.os == 'Linux' && matrix.hypervisor == 'kvm'
163
159
run : sudo apt install gh -y
164
160
165
161
- name : Download benchmarks from "latest"
166
- run : just bench-download ${{ runner.os }} ${{ matrix.hypervisor }} dev-latest # compare to prerelease
162
+ run : just bench-download ${{ runner.os }} ${{ matrix.hypervisor }} ${{ matrix.arch}} dev-latest # compare to prerelease
167
163
env :
168
164
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
169
165
continue-on-error : true
0 commit comments