From c56114559853587e60a98960c3d95944aef559c9 Mon Sep 17 00:00:00 2001 From: Junya Morioka Date: Thu, 11 Dec 2025 02:45:25 +0900 Subject: [PATCH] ci: add architecture labels to self-hosted runner configuration - Add arm64 label to ARM64 self-hosted runner job - Add x64 label to x86_64 self-hosted runner jobs (both container and non-container) - Ensures runner selection by both custom runner name and architecture type --- .github/workflows/_build_linux_arm_self_host.yml | 4 +++- .github/workflows/_build_linux_self_host.yml | 8 ++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/_build_linux_arm_self_host.yml b/.github/workflows/_build_linux_arm_self_host.yml index 0460596..a54c11a 100644 --- a/.github/workflows/_build_linux_arm_self_host.yml +++ b/.github/workflows/_build_linux_arm_self_host.yml @@ -42,7 +42,9 @@ on: jobs: build_wheels_self_hosted: name: Build wheels and Upload (Linux x86_64, self-hosted runner) - runs-on: ${{ inputs.runner }} + runs-on: + - ${{ inputs.runner }} + - arm64 container: image: ${{ inputs.container-image }} options: --platform linux/arm64 diff --git a/.github/workflows/_build_linux_self_host.yml b/.github/workflows/_build_linux_self_host.yml index 3112c5d..540679f 100644 --- a/.github/workflows/_build_linux_self_host.yml +++ b/.github/workflows/_build_linux_self_host.yml @@ -48,7 +48,9 @@ jobs: build_wheels_self_hosted: if: ${{ inputs.use-container }} name: Build wheels and Upload (Linux x86_64, self-hosted runner) - runs-on: ${{ inputs.runner }} + runs-on: + - ${{ inputs.runner }} + - x64 container: image: ${{ inputs.container-image }} defaults: @@ -185,7 +187,9 @@ jobs: build_wheels_self_hosted_no_container: if: ${{ !inputs.use-container }} name: Build wheels and Upload (Linux x86_64, self-hosted runner) - runs-on: ${{ inputs.runner }} + runs-on: + - ${{ inputs.runner }} + - x64 defaults: run: shell: bash