From 014fc90726902eb976b6ef12e5ae94ef7412b4eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Neuh=C3=A4user?= Date: Sat, 20 Dec 2025 17:34:44 +0100 Subject: [PATCH] add test step github ci --- .github/workflows/rust.yml | 17 ++++++++++++++--- src/irq_interrupt.rs | 1 - 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ee92f12..0b5e08d 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -21,8 +21,7 @@ jobs: - name: Run format check run: cargo fmt --check - name: Run lint - run: cargo clippy -- -D warnings - + run: cargo clippy --target aarch64-unknown-none -- -D warnings build: runs-on: ubuntu-latest @@ -33,4 +32,16 @@ jobs: - name: Add AArch64 Target run: rustup target add aarch64-unknown-none - name: Build - run: cargo build --verbose + run: cargo build --verbose --target aarch64-unknown-none + + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Install rustfmt for nightly + run: rustup component add --toolchain nightly-x86_64-unknown-linux-gnu rustfmt clippy + - name: Add AArch64 Target + run: rustup target add aarch64-unknown-none + - name: Heap Workspace Test + run: cargo test -p heap diff --git a/src/irq_interrupt.rs b/src/irq_interrupt.rs index 3434f2d..afdcda2 100644 --- a/src/irq_interrupt.rs +++ b/src/irq_interrupt.rs @@ -6,7 +6,6 @@ use core::{ use crate::{ mmio_read, mmio_write, peripherals::gpio::{blink_gpio, SpecificGpio}, - print, timer::sleep_s, };