ci: cross-platform release matrix on self-hosted runner pools

This commit is contained in:
2026-06-02 11:06:02 -07:00
parent 10011efc4c
commit 21b8e9aa5a
+42
View File
@@ -0,0 +1,42 @@
name: Release Matrix (CLI)
# Cross-platform binary builds via self-hosted runner pools.
on:
workflow_dispatch:
push:
tags: ['v*']
permissions:
contents: write
jobs:
build:
name: ${{ matrix.target.id }}
strategy:
fail-fast: false
matrix:
target:
- id: macos-arm64
runner: luxfi-macos-arm64
- id: linux-amd64
runner: luxfi-linux-amd64
- id: linux-arm64
runner: luxfi-linux-arm64
- id: windows-amd64
runner: luxfi-windows-amd64
runs-on: ${{ matrix.target.runner }}
steps:
- uses: actions/checkout@v4
- name: Show runner
run: echo "Building on ${{ matrix.target.runner }}"
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
- name: Build
run: cargo build --release
- name: Upload
uses: actions/upload-artifact@v4
with:
name: lux-market-${{ matrix.target.id }}
path: target/release/lux-market*
if-no-files-found: warn