Skip to content

Commit

Permalink
Adding azlinux3 testing to dep_rust.yml workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
marosset committed Jan 13, 2025
1 parent 1391fa8 commit b0e046f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/dep_rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,15 @@ jobs:
strategy:
fail-fast: true
matrix:
hypervisor: [hyperv, mshv, kvm] # hyperv is windows, mshv and kvm are linux
hypervisor: [hyperv, mshv, mshv3, kvm] # hyperv is windows, mshv and kvm are linux
cpu: [amd, intel]
config: [debug, release]

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)) }}
runs-on: ${{ fromJson(
format('["self-hosted", "{0}", "X64", "1ES.Pool=hld-{1}-{2}"]',
matrix.hypervisor == 'hyperv' && 'Windows' || 'Linux',
matrix.hypervisor == 'hyperv' && 'win2022' || matrix.hypervisor == 'mhsv3' && 'azlinux3-mshv' || matrix.hypervisor,
matrix.cpu)) }}
steps:
- uses: actions/checkout@v4

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

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

- name: Install github-cli (Linux ubuntu)
Expand Down

0 comments on commit b0e046f

Please sign in to comment.