mirror of
https://github.com/NixOS/nix.git
synced 2025-11-11 04:56:01 +01:00
Merge pull request #118 from DeterminateSystems/push-lrtmozosxrvy
Use GHA runners for VMs since they have KVM
This commit is contained in:
commit
408d4a0505
2 changed files with 9 additions and 2 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
|
@ -7,6 +7,9 @@ on:
|
|||
runner:
|
||||
required: true
|
||||
type: string
|
||||
runner_for_virt:
|
||||
required: true
|
||||
type: string
|
||||
runner_small:
|
||||
required: true
|
||||
type: string
|
||||
|
|
@ -61,7 +64,7 @@ jobs:
|
|||
vm_tests_smoke:
|
||||
if: inputs.run_vm_tests && github.event_name != 'merge_group'
|
||||
needs: build
|
||||
runs-on: ${{ inputs.runner }}
|
||||
runs-on: ${{ inputs.runner_for_virt }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: DeterminateSystems/determinate-nix-action@main
|
||||
|
|
@ -77,7 +80,7 @@ jobs:
|
|||
vm_tests_all:
|
||||
if: inputs.run_vm_tests && github.event_name == 'merge_group'
|
||||
needs: build
|
||||
runs-on: ${{ inputs.runner }}
|
||||
runs-on: ${{ inputs.runner_for_virt }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: DeterminateSystems/determinate-nix-action@main
|
||||
|
|
|
|||
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -36,6 +36,7 @@ jobs:
|
|||
with:
|
||||
system: x86_64-linux
|
||||
runner: namespace-profile-linuxamd32c64g-cache
|
||||
runner_for_virt: UbuntuLatest32Cores128G
|
||||
runner_small: ubuntu-latest
|
||||
run_tests: true
|
||||
run_vm_tests: true
|
||||
|
|
@ -47,6 +48,7 @@ jobs:
|
|||
if: ${{ github.event_name != 'pull_request' }}
|
||||
system: aarch64-linux
|
||||
runner: UbuntuLatest32Cores128GArm
|
||||
runner_for_virt: UbuntuLatest32Cores128GArm
|
||||
runner_small: UbuntuLatest32Cores128GArm
|
||||
|
||||
build_x86_64-darwin:
|
||||
|
|
@ -55,6 +57,7 @@ jobs:
|
|||
if: ${{ github.event_name != 'pull_request' }}
|
||||
system: x86_64-darwin
|
||||
runner: macos-latest-large
|
||||
runner_for_virt: macos-latest-large
|
||||
runner_small: macos-latest-large
|
||||
|
||||
build_aarch64-darwin:
|
||||
|
|
@ -62,6 +65,7 @@ jobs:
|
|||
with:
|
||||
system: aarch64-darwin
|
||||
runner: namespace-profile-mac-m2-12c28g
|
||||
runner_for_virt: namespace-profile-mac-m2-12c28g
|
||||
runner_small: macos-latest-xlarge
|
||||
|
||||
success:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue