Skip to content

[bots] Enable renovate dashboard #38

[bots] Enable renovate dashboard

[bots] Enable renovate dashboard #38

Workflow file for this run

name: Rust Release
on:
push:
branches: [main]
defaults:
run:
shell: bash
working-directory: rs
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install libraries
run: sudo apt-get install libasound2-dev
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
rs/target/
key: ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
- name: Update rust toolchain
run: |
rustup update
rustup component add clippy
- name: 'Build release binary'
run: cargo build --release
- name: 'Upload Artifact'
uses: actions/upload-artifact@v4
with:
name: pickup (Rust, Linux, AMD64)
path: pickup-rust/target/release/pickup
# TODO cross-compiling https://github.com/marketplace/actions/rust-cargo#cross-compilation
# Might not be possible if we have platform-specific dependencies