Skip to content

Account input hatch being open or closed #30

Account input hatch being open or closed

Account input hatch being open or closed #30

Workflow file for this run

name: build-commit
on: [ push ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Initialize Caches
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-build-commit-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-build-commit-
- name: Clippy
run: |
rustup \
component \
add \
clippy \
&& \
cargo \
clippy \
--lib \
--bins \
--verbose \
-- \
-Wclippy::pedantic \
-Wclippy::nursery \
-Wclippy::expect_used \
-Wclippy::unwrap_used
- name: Build
run: |
sudo \
apt \
install \
avr-libc \
gcc-avr \
pkg-config \
avrdude \
libudev-dev \
build-essential \
&& \
cargo \
build \
--release \
--verbose
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: grprp-artifacts
path: target/avr-atmega328p/release/grprp.elf