Skip to content

Commit b0e046f

Browse files
committed
Adding azlinux3 testing to dep_rust.yml workflows
1 parent 1391fa8 commit b0e046f

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/dep_rust.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,15 @@ jobs:
2626
strategy:
2727
fail-fast: true
2828
matrix:
29-
hypervisor: [hyperv, mshv, kvm] # hyperv is windows, mshv and kvm are linux
29+
hypervisor: [hyperv, mshv, mshv3, kvm] # hyperv is windows, mshv and kvm are linux
3030
cpu: [amd, intel]
3131
config: [debug, release]
3232

33-
runs-on: ${{ fromJson(format('["self-hosted", "{0}", "X64", "1ES.Pool=hld-{1}-{2}"]', matrix.hypervisor == 'hyperv' && 'Windows' || 'Linux', matrix.hypervisor == 'hyperv' && 'win2022' || matrix.hypervisor, matrix.cpu)) }}
33+
runs-on: ${{ fromJson(
34+
format('["self-hosted", "{0}", "X64", "1ES.Pool=hld-{1}-{2}"]',
35+
matrix.hypervisor == 'hyperv' && 'Windows' || 'Linux',
36+
matrix.hypervisor == 'hyperv' && 'win2022' || matrix.hypervisor == 'mhsv3' && 'azlinux3-mshv' || matrix.hypervisor,
37+
matrix.cpu)) }}
3438
steps:
3539
- uses: actions/checkout@v4
3640

@@ -72,7 +76,7 @@ jobs:
7276
just test-rust ${{ matrix.config }}
7377
7478
# with only one driver enabled (driver mshv/kvm feature is ignored on windows) + seccomp + inprocess
75-
just test-rust ${{ matrix.config }} inprocess,seccomp,${{ matrix.hypervisor == 'mshv' && 'mshv2' || 'kvm' }}
79+
just test-rust ${{ matrix.config }} inprocess,seccomp,${{ matrix.hypervisor == 'mshv' && 'mshv2' || matrix.hypervisor== 'mhsv3' && 'mshv3' || 'kvm' }}
7680
7781
# make sure certain cargo features compile
7882
cargo check -p hyperlight-host --features crashdump
@@ -98,7 +102,7 @@ jobs:
98102

99103
### Benchmarks ###
100104
- name: Install github-cli (Linux mariner)
101-
if: runner.os == 'Linux' && matrix.hypervisor == 'mshv'
105+
if: runner.os == 'Linux' && (matrix.hypervisor == 'mshv' || matrix.hypervisor == 'mshv3')
102106
run: sudo dnf install gh -y
103107

104108
- name: Install github-cli (Linux ubuntu)

0 commit comments

Comments
 (0)