KVM support out of the box, plus a refreshed README #56

Merged
grahamc merged 5 commits from kvm into main 2023-11-21 19:06:06 +00:00
Showing only changes of commit 3a4f38c219 - Show all commits

View file

@ -60,7 +60,7 @@ See [`.github/workflows/ci.yml`](.github/workflows/ci.yml) for a full example.
lucperkins commented 2023-11-21 18:52:16 +00:00 (Migrated from github.com)
Review
* ✅ **Accelerated KVM** on open source projects and larger runners. See [GitHub's announcement](https://github.blog/changelog/2023-02-23-hardware-accelerated-androidvirtualization-on-actions-windows-and-linux-larger-hosted-runners) for more info.
```suggestion * ✅ **Accelerated KVM** on open source projects and larger runners. See [GitHub's announcement](https://github.blog/changelog/2023-02-23-hardware-accelerated-androidvirtualization-on-actions-windows-and-linux-larger-hosted-runners) for more info. ```
grahamc commented 2023-11-21 19:00:00 +00:00 (Migrated from github.com)
Review
* ✅ **Accelerated KVM** on open source projects and larger runners. See [GitHub's announcement](https://github.blog/changelog/2023-02-23-hardware-accelerated-android-virtualization-on-actions-windows-and-linux-larger-hosted-runners/) for more info.
```suggestion * ✅ **Accelerated KVM** on open source projects and larger runners. See [GitHub's announcement](https://github.blog/changelog/2023-02-23-hardware-accelerated-android-virtualization-on-actions-windows-and-linux-larger-hosted-runners/) for more info. ```
lucperkins commented 2023-11-21 18:52:16 +00:00 (Migrated from github.com)
Review
* ✅ **Accelerated KVM** on open source projects and larger runners. See [GitHub's announcement](https://github.blog/changelog/2023-02-23-hardware-accelerated-androidvirtualization-on-actions-windows-and-linux-larger-hosted-runners) for more info.
```suggestion * ✅ **Accelerated KVM** on open source projects and larger runners. See [GitHub's announcement](https://github.blog/changelog/2023-02-23-hardware-accelerated-androidvirtualization-on-actions-windows-and-linux-larger-hosted-runners) for more info. ```
grahamc commented 2023-11-21 19:00:00 +00:00 (Migrated from github.com)
Review
* ✅ **Accelerated KVM** on open source projects and larger runners. See [GitHub's announcement](https://github.blog/changelog/2023-02-23-hardware-accelerated-android-virtualization-on-actions-windows-and-linux-larger-hosted-runners/) for more info.
```suggestion * ✅ **Accelerated KVM** on open source projects and larger runners. See [GitHub's announcement](https://github.blog/changelog/2023-02-23-hardware-accelerated-android-virtualization-on-actions-windows-and-linux-larger-hosted-runners/) for more info. ```
### Advanced Usage
* If KVM is available, the installer exports the `DETERMINATE_NIX_KVM` environment variable set to 1.
lucperkins commented 2023-11-21 18:52:16 +00:00 (Migrated from github.com)
Review
* ✅ **Accelerated KVM** on open source projects and larger runners. See [GitHub's announcement](https://github.blog/changelog/2023-02-23-hardware-accelerated-androidvirtualization-on-actions-windows-and-linux-larger-hosted-runners) for more info.
```suggestion * ✅ **Accelerated KVM** on open source projects and larger runners. See [GitHub's announcement](https://github.blog/changelog/2023-02-23-hardware-accelerated-androidvirtualization-on-actions-windows-and-linux-larger-hosted-runners) for more info. ```
grahamc commented 2023-11-21 19:00:00 +00:00 (Migrated from github.com)
Review
* ✅ **Accelerated KVM** on open source projects and larger runners. See [GitHub's announcement](https://github.blog/changelog/2023-02-23-hardware-accelerated-android-virtualization-on-actions-windows-and-linux-larger-hosted-runners/) for more info.
```suggestion * ✅ **Accelerated KVM** on open source projects and larger runners. See [GitHub's announcement](https://github.blog/changelog/2023-02-23-hardware-accelerated-android-virtualization-on-actions-windows-and-linux-larger-hosted-runners/) for more info. ```
* If KVM is available, the installer sets up KVM so that Nix can use it ,and exports the `DETERMINATE_NIX_KVM` environment variable set to 1.
lucperkins commented 2023-11-21 18:52:16 +00:00 (Migrated from github.com)
Review
* ✅ **Accelerated KVM** on open source projects and larger runners. See [GitHub's announcement](https://github.blog/changelog/2023-02-23-hardware-accelerated-androidvirtualization-on-actions-windows-and-linux-larger-hosted-runners) for more info.
```suggestion * ✅ **Accelerated KVM** on open source projects and larger runners. See [GitHub's announcement](https://github.blog/changelog/2023-02-23-hardware-accelerated-androidvirtualization-on-actions-windows-and-linux-larger-hosted-runners) for more info. ```
grahamc commented 2023-11-21 19:00:00 +00:00 (Migrated from github.com)
Review
* ✅ **Accelerated KVM** on open source projects and larger runners. See [GitHub's announcement](https://github.blog/changelog/2023-02-23-hardware-accelerated-android-virtualization-on-actions-windows-and-linux-larger-hosted-runners/) for more info.
```suggestion * ✅ **Accelerated KVM** on open source projects and larger runners. See [GitHub's announcement](https://github.blog/changelog/2023-02-23-hardware-accelerated-android-virtualization-on-actions-windows-and-linux-larger-hosted-runners/) for more info. ```
If KVM is not available, `DETERMINATE_NIX_KVM` is set to 0.
This can be used in combination with GitHub Actions' `if` syntax for turning on and off steps.

lucperkins commented 2023-11-21 18:52:16 +00:00 (Migrated from github.com)
Review
* ✅ **Accelerated KVM** on open source projects and larger runners. See [GitHub's announcement](https://github.blog/changelog/2023-02-23-hardware-accelerated-androidvirtualization-on-actions-windows-and-linux-larger-hosted-runners) for more info.
```suggestion * ✅ **Accelerated KVM** on open source projects and larger runners. See [GitHub's announcement](https://github.blog/changelog/2023-02-23-hardware-accelerated-androidvirtualization-on-actions-windows-and-linux-larger-hosted-runners) for more info. ```
grahamc commented 2023-11-21 19:00:00 +00:00 (Migrated from github.com)
Review
* ✅ **Accelerated KVM** on open source projects and larger runners. See [GitHub's announcement](https://github.blog/changelog/2023-02-23-hardware-accelerated-android-virtualization-on-actions-windows-and-linux-larger-hosted-runners/) for more info.
```suggestion * ✅ **Accelerated KVM** on open source projects and larger runners. See [GitHub's announcement](https://github.blog/changelog/2023-02-23-hardware-accelerated-android-virtualization-on-actions-windows-and-linux-larger-hosted-runners/) for more info. ```
lucperkins commented 2023-11-21 18:52:16 +00:00 (Migrated from github.com)
Review
* ✅ **Accelerated KVM** on open source projects and larger runners. See [GitHub's announcement](https://github.blog/changelog/2023-02-23-hardware-accelerated-androidvirtualization-on-actions-windows-and-linux-larger-hosted-runners) for more info.
```suggestion * ✅ **Accelerated KVM** on open source projects and larger runners. See [GitHub's announcement](https://github.blog/changelog/2023-02-23-hardware-accelerated-androidvirtualization-on-actions-windows-and-linux-larger-hosted-runners) for more info. ```
grahamc commented 2023-11-21 19:00:00 +00:00 (Migrated from github.com)
Review
* ✅ **Accelerated KVM** on open source projects and larger runners. See [GitHub's announcement](https://github.blog/changelog/2023-02-23-hardware-accelerated-android-virtualization-on-actions-windows-and-linux-larger-hosted-runners/) for more info.
```suggestion * ✅ **Accelerated KVM** on open source projects and larger runners. See [GitHub's announcement](https://github.blog/changelog/2023-02-23-hardware-accelerated-android-virtualization-on-actions-windows-and-linux-larger-hosted-runners/) for more info. ```