Files
horizon-airdef/.github/workflows/launcher.yml
T
2026-10-13 12:50:59 +02:00

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 }}