17 lines
384 B
YAML
17 lines
384 B
YAML
|
name: "Build Rust binary in release mode"
|
||
|
on: push
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
name: "build"
|
||
|
runs-on: rust-bookworm
|
||
|
steps:
|
||
|
- name: Install build dependencies
|
||
|
run: |
|
||
|
apt-get update
|
||
|
apt-get install -y libasound2-dev
|
||
|
- name: Check out repository code
|
||
|
uses: actions/checkout@v4
|
||
|
- name: Build binary
|
||
|
run: cargo build --release
|