From 84b6b0115dce3177ab9954d623357e346895c2a4 Mon Sep 17 00:00:00 2001 From: John Nunley Date: Tue, 28 May 2024 20:50:10 -0700 Subject: [PATCH] m: Add to CI Signed-off-by: John Nunley --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fd0c397..ef995d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,6 +78,18 @@ jobs: run: rustup update stable - run: cargo clippy --all-features --all-targets + loom: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install Rust + run: rustup update stable + - name: Loom tests + run: cargo test --release --test loom --features loom + env: + RUSTFLAGS: "--cfg=loom" + LOOM_MAX_PREEMPTIONS: 4 + fmt: runs-on: ubuntu-latest steps: