mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
workflows: use ARM runners
ARM runners are supposed to be more energy efficient than x86. Also, from limited testing, they appear to be faster for the eval jobs as well. Average run time for the "Outpaths (x86_64-linux)" job was 4m 27s, so far. In the first run, this job came in at 3m 9s. This effect did not show for other jobs, yet. The following two exceptions are made right now: - nixpkgs-lib-tests currently fails on the ARM runner building Nix 2.3 - nixpkgs-vet is currently pinned to a x86_64-linux only binary release
This commit is contained in:
2
.github/workflows/no-channel.yml
vendored
2
.github/workflows/no-channel.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
||||
startsWith(github.event.pull_request.base.ref, 'nixos-') ||
|
||||
startsWith(github.event.pull_request.base.ref, 'nixpkgs-')
|
||||
name: "This PR is targeting a channel branch"
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-24.04-arm
|
||||
steps:
|
||||
- run: |
|
||||
cat <<EOF
|
||||
|
||||
Reference in New Issue
Block a user