d7bcc04064
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
36 lines
920 B
YAML
36 lines
920 B
YAML
name: launcher
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches: [launcher]
|
|
paths: ['launcher/**', '.github/workflows/launcher.yml']
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- os: macos-latest
|
|
artifact: horizon-launcher-macos-arm64
|
|
binary: horizon-launcher
|
|
- os: windows-latest
|
|
artifact: horizon-launcher-windows-x64
|
|
binary: horizon-launcher.exe
|
|
runs-on: ${{ matrix.os }}
|
|
defaults:
|
|
run:
|
|
working-directory: launcher
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: dtolnay/rust-toolchain@stable
|
|
- uses: Swatinem/rust-cache@v2
|
|
with:
|
|
workspaces: launcher
|
|
- run: cargo build --release --locked
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: ${{ matrix.artifact }}
|
|
path: launcher/target/release/${{ matrix.binary }}
|