From 4aa31f889d744b033346a918baa1b7d8902ca57a Mon Sep 17 00:00:00 2001 From: Bhargav Annem Date: Fri, 23 Aug 2024 11:20:17 -0700 Subject: [PATCH] fix: yml --- .github/workflows/rust.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 889c170..153005c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -11,12 +11,20 @@ env: jobs: build: - runs-on: ubuntu-latest - steps: - uses: actions/checkout@v4 - name: Build run: cargo build --verbose --no-default-features --features=cache - name: Run tests run: cargo test --verbose --features=kzg-test + test-no-std: + name: test no_std + runs-on: ubuntu-latest + timeout-minutes: 30 + steps: + - uses: actions/checkout@v3 + - uses: dtolnay/rust-toolchain@stable + with: + targets: riscv32imac-unknown-none-elf + - run: cargo check --target riscv32imac-unknown-none-elf --no-default-features --features=cache