From 9a953c9875f32bc3f07c3c30a00ea2a9be9d6be1 Mon Sep 17 00:00:00 2001 From: datdenkikniet Date: Sun, 16 Mar 2025 14:56:12 +0100 Subject: [PATCH] add CI step to run rtic-sync loom tests --- .github/workflows/build.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1c7301de7d4..597bddd1353 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -265,6 +265,16 @@ jobs: - name: Run cargo test run: cargo xtask --deny-warnings --backend ${{ matrix.backend }} test ${{ matrix.package }} + loom-tests: + name: rtic-sync loom tests + runs-on: ubuntu-22.04 + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Run cargo test + run: RUSTFLAGS="--cfg loom" cargo test -p rtic-sync --release --lib + # Build documentation, check links docs: name: build docs @@ -661,6 +671,7 @@ jobs: - check-clippy - testexamples - tests + - loom-tests - docs - mdbook runs-on: ubuntu-22.04