mirror of
https://github.com/luxfi/consensus.git
synced 2026-09-24 00:26:58 +00:00
ci: a runner label names the platform, not the org
hanzo-build-linux-amd64, lux-build-linux-amd64, zoo-build-linux-amd64 and every other org-prefixed spelling all meant the same machine. Which org a job belongs to does not change which host can build it, so the org bought one pool name per org per arch and each could go stale on its own -- the evo host alone answered to fourteen names for one label. One vocabulary now: linux-amd64, linux-arm64, macos-arm64, win-amd64. The generic labels every plain workflow uses (ubuntu-latest, self-hosted) are untouched, so naive CI keeps working. Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
@@ -31,7 +31,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: [lux-build-linux-amd64]
|
||||
runs-on: [linux-amd64]
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -54,7 +54,7 @@ jobs:
|
||||
run: go test -v -race -timeout=40m -coverprofile=coverage.txt -covermode=atomic ./...
|
||||
|
||||
lint:
|
||||
runs-on: [lux-build-linux-amd64]
|
||||
runs-on: [linux-amd64]
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -65,7 +65,7 @@ jobs:
|
||||
|
||||
test-c:
|
||||
name: C library
|
||||
runs-on: [lux-build-linux-amd64]
|
||||
runs-on: [linux-amd64]
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -80,7 +80,7 @@ jobs:
|
||||
|
||||
test-rust:
|
||||
name: Rust FFI wrapper
|
||||
runs-on: [lux-build-linux-amd64]
|
||||
runs-on: [linux-amd64]
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -97,7 +97,7 @@ jobs:
|
||||
build:
|
||||
# Cross-compilation, all from the one Linux runner: the matrix sets GOOS and
|
||||
# GOARCH, it does not select a runner.
|
||||
runs-on: [lux-build-linux-amd64]
|
||||
runs-on: [linux-amd64]
|
||||
timeout-minutes: 20
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
||||
@@ -32,7 +32,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: [lux-build-linux-amd64]
|
||||
runs-on: [linux-amd64]
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@@ -34,7 +34,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
verify:
|
||||
runs-on: [lux-build-linux-amd64]
|
||||
runs-on: [linux-amd64]
|
||||
timeout-minutes: 30
|
||||
env:
|
||||
GOWORK: off
|
||||
@@ -51,7 +51,7 @@ jobs:
|
||||
needs: verify
|
||||
# Cross-compilation, all from the one Linux runner: the matrix sets GOOS and
|
||||
# GOARCH, it does not select a runner.
|
||||
runs-on: [lux-build-linux-amd64]
|
||||
runs-on: [linux-amd64]
|
||||
timeout-minutes: 20
|
||||
strategy:
|
||||
fail-fast: false
|
||||
@@ -81,7 +81,7 @@ jobs:
|
||||
|
||||
release:
|
||||
needs: build
|
||||
runs-on: [lux-build-linux-amd64]
|
||||
runs-on: [linux-amd64]
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user