Skip to content

Commit 651bb34

Browse files
authored
Try fix 1es runners (#439)
Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
1 parent 529eb5d commit 651bb34

3 files changed

Lines changed: 15 additions & 4 deletions

File tree

.github/workflows/Benchmarks.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,14 @@ jobs:
2929
cpu: [amd, intel]
3030
config: [release] # don't want to benchmark debug-builds
3131

32-
runs-on: ${{ fromJson(format('["self-hosted", "{0}", "X64", "1ES.Pool=hld-{1}-{2}"]', matrix.hypervisor == 'hyperv' && 'Windows' || 'Linux', matrix.hypervisor == 'hyperv' && 'win2025' || matrix.hypervisor == 'mshv3' && 'azlinux3-mshv' || matrix.hypervisor, matrix.cpu)) }}
32+
runs-on: ${{ fromJson(format('["self-hosted", "{0}", "X64", "1ES.Pool=hld-{1}-{2}", "JobId=benchmark-{3}-{4}-{5}-{6}"]',
33+
matrix.hypervisor == 'hyperv' && 'Windows' || 'Linux',
34+
matrix.hypervisor == 'hyperv' && 'win2025' || matrix.hypervisor == 'mshv3' && 'azlinux3-mshv' || matrix.hypervisor,
35+
matrix.cpu,
36+
matrix.config,
37+
github.run_id,
38+
github.run_number,
39+
github.run_attempt)) }}
3340

3441
steps:
3542
- uses: actions/checkout@v5

.github/workflows/dep_cargo_publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
jobs:
1313
publish-hyperlight-wasm:
14-
runs-on: [self-hosted, Linux, X64, "1ES.Pool=HL-Ubuntu-22.04-KVM"]
14+
runs-on: [self-hosted, Linux, X64, "1ES.Pool=HL-Ubuntu-22.04-KVM", "JobId=publish-hyperlight-wasm-${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}"]
1515
steps:
1616

1717
- uses: actions/checkout@v5

.github/workflows/dep_rust.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,14 @@ jobs:
4242
config: [debug, release]
4343

4444
runs-on: ${{ fromJson(
45-
format('["self-hosted", "{0}", "X64", "1ES.Pool=hld-{1}-{2}"]',
45+
format('["self-hosted", "{0}", "X64", "1ES.Pool=hld-{1}-{2}", "JobId=build-{3}-{4}-{5}-{6}"]',
4646
matrix.hypervisor == 'hyperv' && 'Windows' || 'Linux',
4747
matrix.hypervisor == 'hyperv' && 'win2025' || matrix.hypervisor == 'mshv3' && 'azlinux3-mshv' || matrix.hypervisor,
48-
matrix.cpu)) }}
48+
matrix.cpu,
49+
matrix.config,
50+
github.run_id,
51+
github.run_number,
52+
github.run_attempt)) }}
4953
steps:
5054
- uses: actions/checkout@v5
5155

0 commit comments

Comments
 (0)