Skip to content

Commit 9f409ec

Browse files
committed
ci: enable running on MacOS/HVF
Signed-off-by: Lucy Menon <168595099+syntactically@users.noreply.github.com>
1 parent 1ac40f8 commit 9f409ec

3 files changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/DailyArm64.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,11 @@ jobs:
5050
fail-fast: false
5151
matrix:
5252
config: [debug, release]
53+
hypervisor: [hvf, kvm]
5354
uses: ./.github/workflows/dep_build_test.yml
5455
secrets: inherit
5556
with:
56-
hypervisor: kvm
57+
hypervisor: ${{ matrix.hypervisor }}
5758
cpu_vendor: apple
5859
arch: arm64
5960
config: ${{ matrix.config }}
@@ -65,10 +66,11 @@ jobs:
6566
fail-fast: false
6667
matrix:
6768
config: [debug, release]
69+
hypervisor: [hvf, kvm]
6870
uses: ./.github/workflows/dep_run_examples.yml
6971
secrets: inherit
7072
with:
71-
hypervisor: kvm
73+
hypervisor: ${{ matrix.hypervisor }}
7274
cpu_vendor: apple
7375
arch: arm64
7476
config: ${{ matrix.config }}

.github/workflows/ValidatePullRequest.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ jobs:
149149
strategy:
150150
fail-fast: true
151151
matrix:
152-
hypervisor: ['hyperv-ws2025', mshv3, kvm]
152+
hypervisor: ['hyperv-ws2025', mshv3, kvm, hvf]
153153
cpu_vendor: [amd, intel, apple]
154154
arch: [X64, arm64]
155155
config: [debug, release]
@@ -158,6 +158,8 @@ jobs:
158158
hypervisor: hyperv-ws2025
159159
- cpu_vendor: apple
160160
hypervisor: mshv3
161+
- arch: X64
162+
hypervisor: hvf
161163
- cpu_vendor: amd
162164
arch: arm64
163165
- cpu_vendor: intel

.github/workflows/dep_build_test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ jobs:
6767
github.run_id,
6868
github.run_number,
6969
github.run_attempt)
70-
|| '["self-hosted", "Linux", "arm64", "kvm", "ubuntu-24.04"]') }}
70+
|| format('["self-hosted", "{0}", "arm64", "{1}"]',
71+
inputs.hypervisor == 'hvf' && 'macos' || 'Linux',
72+
inputs.hypervisor)) }}
7173
steps:
7274
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
7375

0 commit comments

Comments
 (0)