Skip to content

Commit

Permalink
Create build-commit.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
acodili-jg authored May 10, 2024
1 parent 6a0345e commit e449d62
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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: Clippy
run: |
cargo
clippy
--lib
--bins
--verbose
--
-Wclippy::pedantic
-Wclippy::nursery
-Wclippy::expect_used
-Wclippy::unwrap_used
- name: Build
run: cargo build --release --verbose
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: grprp-artifacts
path: target\avr-atmega328p\release\grprp.elf

0 comments on commit e449d62

Please sign in to comment.