Skip to content

Commit

Permalink
Fix #50: Add support for selecting hypervisor
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-carlborg committed Mar 31, 2023
1 parent 892d929 commit 89f92f9
Show file tree
Hide file tree
Showing 25 changed files with 667 additions and 91 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,3 +261,24 @@ jobs:
run: |
sysctl hw.ncpu
[ `sysctl -n hw.ncpu` = 8 ]
# Does not automatically verify anything. Only for manual verification
test-hypervisor-config:
timeout-minutes: 5
name: Test configuring hypervisor
runs-on: macos-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false

- name: Test
uses: ./
with:
operating_system: freebsd
architecture: x86-64
version: '13.1'
hypervisor: qemu
run: sysctl hw.model
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ inputs:
cpu_count:
required: false
description: The number of CPU cores for the virtual machine
hypervisor:
required: false
description: The hypervisor to use when starting the virtual machine

runs:
using: node16
Expand Down
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]
### Added
- Add support for selecting hypervisor ([#50](https://github.com/cross-platform-actions/action/issues/50))
- Add support for NetBSD on macOS runners ([#28](https://github.com/cross-platform-actions/action/issues/28))
- Support for configuring memory ([#16](https://github.com/cross-platform-actions/action/issues/16))
- Support for configuring CPU core count ([#16](https://github.com/cross-platform-actions/action/issues/17))
Expand Down
Loading

0 comments on commit 89f92f9

Please sign in to comment.