Skip to content

Commit fa3cfd7

Browse files
committed
Simplify ci matrix
Signed-off-by: Ludvig Liljenberg <[email protected]>
1 parent 3d46c71 commit fa3cfd7

File tree

1 file changed

+6
-64
lines changed

1 file changed

+6
-64
lines changed

.github/workflows/dep_rust.yml

Lines changed: 6 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -26,69 +26,11 @@ jobs:
2626
strategy:
2727
fail-fast: true
2828
matrix:
29-
include:
30-
- build: windows-2022-debug-amd
31-
os: [self-hosted, Windows, X64, "1ES.Pool=hld-win2022-amd"]
32-
hypervisor: hyperv
33-
config: debug
34-
arch: amd
35-
- build: linux-kvm-debug-amd
36-
os: [self-hosted, Linux, X64, "1ES.Pool=hld-kvm-amd"]
37-
hypervisor: kvm
38-
config: debug
39-
arch: amd
40-
- build: linux-mshv-debug-amd
41-
os: [self-hosted, Linux, X64, "1ES.Pool=hld-mshv-amd"]
42-
hypervisor: mshv
43-
config: debug
44-
arch: amd
45-
- build: windows-2022-release-amd
46-
os: [self-hosted, Windows, X64, "1ES.Pool=hld-win2022-amd"]
47-
hypervisor: hyperv
48-
config: release
49-
arch: amd
50-
- build: linux-kvm-release-amd
51-
os: [self-hosted, Linux, X64, "1ES.Pool=hld-kvm-amd"]
52-
hypervisor: kvm
53-
config: release
54-
arch: amd
55-
- build: linux-mshv-release-amd
56-
os: [self-hosted, Linux, X64, "1ES.Pool=hld-mshv-amd"]
57-
hypervisor: mshv
58-
config: release
59-
arch: amd
60-
- build: windows-2022-debug-intel
61-
os: [self-hosted, Windows, X64, "1ES.Pool=hld-win2022-intel"]
62-
hypervisor: hyperv
63-
config: debug
64-
arch: intel
65-
- build: linux-kvm-debug-intel
66-
os: [self-hosted, Linux, X64, "1ES.Pool=hld-kvm-intel"]
67-
hypervisor: kvm
68-
config: debug
69-
arch: intel
70-
- build: linux-mshv-debug-intel
71-
os: [self-hosted, Linux, X64, "1ES.Pool=hld-mshv-intel"]
72-
hypervisor: mshv
73-
config: debug
74-
arch: intel
75-
- build: windows-2022-release-intel
76-
os: [self-hosted, Windows, X64, "1ES.Pool=hld-win2022-intel"]
77-
hypervisor: hyperv
78-
config: release
79-
arch: intel
80-
- build: linux-kvm-release-intel
81-
os: [self-hosted, Linux, X64, "1ES.Pool=hld-kvm-intel"]
82-
hypervisor: kvm
83-
config: release
84-
arch: intel
85-
- build: linux-mshv-release-intel
86-
os: [self-hosted, Linux, X64, "1ES.Pool=hld-mshv-intel"]
87-
hypervisor: mshv
88-
config: release
89-
arch: intel
90-
91-
runs-on: ${{ matrix.os }}
29+
hypervisor: [hyperv, mshv, kvm] # hyperv is windows, mshv and kvm are linux
30+
cpu: [amd, intel]
31+
config: [debug, release]
32+
33+
runs-on: ${{ format('1ES.Pool=hld-{0}-{1}', matrix.hypervisor == 'hyperv' && 'win2022' || matrix.hypervisor, matrix.cpu) }}
9234
steps:
9335
- uses: actions/checkout@v4
9436

@@ -160,7 +102,7 @@ jobs:
160102
run: sudo apt install gh -y
161103

162104
- name: Download benchmarks from "latest"
163-
run: just bench-download ${{ runner.os }} ${{ matrix.hypervisor }} ${{ matrix.arch}} dev-latest # compare to prerelease
105+
run: just bench-download ${{ runner.os }} ${{ matrix.hypervisor }} ${{ matrix.cpu}} dev-latest # compare to prerelease
164106
env:
165107
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
166108
continue-on-error: true

0 commit comments

Comments
 (0)