1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-03 06:11:46 +02:00

Merge pull request #49 from DeterminateSystems/use-blacksmith

Run some jobs on blacksmith
This commit is contained in:
Eelco Dolstra 2025-02-20 20:43:52 +00:00 committed by GitHub
commit b6101aedb4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,7 +15,7 @@ permissions:
jobs: jobs:
eval: eval:
runs-on: UbuntuLatest32Cores128G runs-on: blacksmith-32vcpu-ubuntu-2204
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
@ -28,13 +28,13 @@ jobs:
build_x86_64-linux: build_x86_64-linux:
uses: ./.github/workflows/build.yml uses: ./.github/workflows/build.yml
with: with:
os: UbuntuLatest32Cores128G os: blacksmith-32vcpu-ubuntu-2204
build_aarch64-linux: build_aarch64-linux:
if: github.event_name == 'merge_group' if: github.event_name == 'merge_group'
uses: ./.github/workflows/build.yml uses: ./.github/workflows/build.yml
with: with:
os: UbuntuLatest32Cores128GArm os: blacksmith-32vcpu-ubuntu-2204-arm
build_x86_64-darwin: build_x86_64-darwin:
if: github.event_name == 'merge_group' if: github.event_name == 'merge_group'
@ -51,14 +51,14 @@ jobs:
uses: ./.github/workflows/test.yml uses: ./.github/workflows/test.yml
needs: build_x86_64-linux needs: build_x86_64-linux
with: with:
os: UbuntuLatest32Cores128G os: blacksmith-32vcpu-ubuntu-2204
test_aarch64-linux: test_aarch64-linux:
if: github.event_name == 'merge_group' if: github.event_name == 'merge_group'
uses: ./.github/workflows/test.yml uses: ./.github/workflows/test.yml
needs: build_aarch64-linux needs: build_aarch64-linux
with: with:
os: UbuntuLatest32Cores128GArm os: blacksmith-32vcpu-ubuntu-2204-arm
test_x86_64-darwin: test_x86_64-darwin:
if: github.event_name == 'merge_group' if: github.event_name == 'merge_group'
@ -75,8 +75,9 @@ jobs:
os: macos-latest os: macos-latest
vm_tests_smoke: vm_tests_smoke:
if: github.event_name != 'merge_group'
needs: build_x86_64-linux needs: build_x86_64-linux
runs-on: UbuntuLatest32Cores128G runs-on: blacksmith-32vcpu-ubuntu-2204
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/nix-installer-action@main
@ -94,7 +95,7 @@ jobs:
vm_tests_all: vm_tests_all:
if: github.event_name == 'merge_group' if: github.event_name == 'merge_group'
needs: build_x86_64-linux needs: build_x86_64-linux
runs-on: UbuntuLatest32Cores128G runs-on: blacksmith-32vcpu-ubuntu-2204
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/nix-installer-action@main
@ -108,13 +109,13 @@ jobs:
.hydraJobs.tests .hydraJobs.tests
| with_entries(select(.value.type == "derivation")) | with_entries(select(.value.type == "derivation"))
| keys[] | keys[]
| ".#hydraJobs.tests." + .' | ".#hydraJobs.tests." + .' \
| head -n5) # FIXME: for testing the merge queue | head -n5) # FIXME: for testing the merge queue
flake_regressions: flake_regressions:
if: github.event_name == 'merge_group' if: github.event_name == 'merge_group'
needs: build_x86_64-linux needs: build_x86_64-linux
runs-on: UbuntuLatest32Cores128G runs-on: blacksmith-32vcpu-ubuntu-2204
steps: steps:
- name: Checkout nix - name: Checkout nix
uses: actions/checkout@v4 uses: actions/checkout@v4