diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0752a2223..8257d5979 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,3 +47,22 @@ jobs: - name: Build Documentation run: cargo doc --no-deps + +jobs: + 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