Skip to content

Commit

Permalink
Add CI job for avr-unknown-gnu-atmega328
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-nitrokey committed Jul 18, 2024
1 parent ee539c7 commit 6e1a2c0
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,21 @@ jobs:
- name: Build Documentation
run: cargo doc --no-deps

build-avr:
runs-on: ubuntu-latest

steps:
- name: Install build dependencies
shell: bash
run: |
env && pwd && sudo apt-get update -y -qq && sudo apt-get install -y -qq llvm gcc-avr avr-libc libclang-dev
- name: Install rust
run: rustup toolchain install --profile minimal --component=rust-src nightly

- name: Path delog
run: echo 'delog = { version = "0.1.6", git = "https://github.com/LechevSpace/delog.git", rev = "e83f3fd" }' >> Cargo.toml

- name: Build avr
run: cargo +nightly build -Z build-std=core --target=avr-unknown-gnu-atmega328 --release

0 comments on commit 6e1a2c0

Please sign in to comment.