27 lines
572 B
YAML
27 lines
572 B
YAML
name: Rust
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
build_type:
|
|
description: 'Build configuration'
|
|
required: true
|
|
default: 'release'
|
|
type: choice
|
|
options:
|
|
- debug
|
|
- release
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
build-m1:
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: dtolnay/rust-toolchain@stable
|
|
with:
|
|
targets: aarch64-apple-darwin
|
|
- run: cargo build --manifest-path nyash_client/Cargo.toml --target aarch64-apple-darwin --release
|