Silas Bartha 0aa4913f91
Some checks failed
Build / Build (push) Has been cancelled
cargo build caching
2025-03-16 19:59:05 -04:00

23 lines
604 B
YAML

name: Build
on: [push]
jobs:
Build:
container: rust:alpine
steps:
- name: Install node
run: apk add nodejs gcc libc-dev pkgconf libx11-dev alsa-lib-dev eudev-dev tar
- name: Check out repository code
uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build
run: cargo build --release