From 694b1e781cb8f5b9ab2dafd4282c98b7118622cc Mon Sep 17 00:00:00 2001 From: Mark Rossetti Date: Mon, 2 Jun 2025 15:18:17 -0700 Subject: [PATCH] Adding ws2025 to the dep_rest matrix Signed-off-by: Mark Rossetti --- .github/workflows/dep_rust.yml | 6 +++--- src/hyperlight_host/benches/benchmarks.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dep_rust.yml b/.github/workflows/dep_rust.yml index c182971ce..b1bac7c43 100644 --- a/.github/workflows/dep_rust.yml +++ b/.github/workflows/dep_rust.yml @@ -36,14 +36,14 @@ jobs: strategy: fail-fast: true matrix: - hypervisor: [hyperv, mshv, mshv3, kvm] # hyperv is windows, mshv and kvm are linux + hypervisor: [hyperv, 'hyperv-ws2025', 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 == 'mshv3' && 'azlinux3-mshv' || matrix.hypervisor, + (matrix.hypervisor == 'hyperv' || matrix.hypervisor == 'hyperv-ws2025') && 'Windows' || 'Linux', + matrix.hypervisor == 'hyperv' && 'win2022' || matrix.hypervisor == 'hyperv-ws2025' && 'win2025' || matrix.hypervisor == 'mshv3' && 'azlinux3-mshv' || matrix.hypervisor, matrix.cpu)) }} steps: - uses: actions/checkout@v4 diff --git a/src/hyperlight_host/benches/benchmarks.rs b/src/hyperlight_host/benches/benchmarks.rs index fdabe8cae..ff60d510f 100644 --- a/src/hyperlight_host/benches/benchmarks.rs +++ b/src/hyperlight_host/benches/benchmarks.rs @@ -68,7 +68,7 @@ fn guest_call_benchmark(c: &mut Criterion) { let mut config = SandboxConfiguration::default(); config.set_input_data_size(2 * SIZE + (1024 * 1024)); // 2 * SIZE + 1 MB, to allow 1MB for the rest of the serialized function call config.set_heap_size(SIZE as u64 * 15); - config.set_max_execution_time(Duration::from_secs(10)); + config.set_max_execution_time(Duration::from_secs(20)); let sandbox = UninitializedSandbox::new( GuestBinary::FilePath(simple_guest_as_string().unwrap()),