mirror of
https://github.com/hanzoai/vm.git
synced 2026-10-01 00:47:56 +00:00
runs-on names a machine, not a purpose
The purpose-prefixed labels (hanzo-build-*, hanzo-deploy-*, hanzo-docs-build-*) are retired in favour of the bare <os>-<arch> every runner already advertises. They were not a capability, only a habit, and the habit cost builds: papers asked for hanzo-build-linux-amd64, no online runner offered it, and two idle linux-amd64 runners sat beside the queue while the build simply never ran. The lux tree lost three days to lux-linux-amd64 the same way. What a job is FOR is the workflow's name. runs-on is the machine it needs. Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
@@ -10,11 +10,11 @@ on:
|
||||
|
||||
jobs:
|
||||
macos:
|
||||
# hanzo-build-darwin-arm64: the label RUNNERS.md registers for the
|
||||
# Apple pool. hanzo-build-macos-arm64 is not one it lists, and a job
|
||||
# darwin-arm64: the label RUNNERS.md registers for the
|
||||
# Apple pool. macos-arm64 is not one it lists, and a job
|
||||
# asking for a label no runner advertises queues forever rather than
|
||||
# failing — so the repo keeps looking like it has CI on this leg.
|
||||
runs-on: hanzo-build-darwin-arm64
|
||||
runs-on: darwin-arm64
|
||||
timeout-minutes: 90
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -26,7 +26,7 @@ jobs:
|
||||
- run: cargo test
|
||||
|
||||
linux:
|
||||
runs-on: hanzo-build-linux-arm64
|
||||
runs-on: linux-arm64
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@@ -27,7 +27,7 @@ env:
|
||||
|
||||
jobs:
|
||||
cli-darwin:
|
||||
runs-on: hanzo-build-macos-arm64
|
||||
runs-on: macos-arm64
|
||||
timeout-minutes: 90
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -45,9 +45,9 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- runner: hanzo-build-linux-arm64
|
||||
- runner: linux-arm64
|
||||
arch: aarch64
|
||||
- runner: hanzo-build-linux-amd64
|
||||
- runner: linux-amd64
|
||||
arch: x86_64
|
||||
runs-on: ${{ matrix.runner }}
|
||||
timeout-minutes: 90
|
||||
@@ -66,10 +66,10 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- runner: hanzo-build-linux-arm64
|
||||
- runner: linux-arm64
|
||||
arch: aarch64
|
||||
target: aarch64-unknown-linux-musl
|
||||
- runner: hanzo-build-linux-amd64
|
||||
- runner: linux-amd64
|
||||
arch: x86_64
|
||||
target: x86_64-unknown-linux-musl
|
||||
runs-on: ${{ matrix.runner }}
|
||||
|
||||
Reference in New Issue
Block a user