Add (only) loom workflow
This commit is contained in:
parent
d8c8a99dea
commit
f67cad0f91
1 changed files with 22 additions and 0 deletions
22
github/workflows/loom.yml
Normal file
22
github/workflows/loom.yml
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
name: Loom
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
toolchain: stable
|
||||||
|
profile: minimal
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: cargo test --test loom
|
||||||
|
uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: test
|
||||||
|
args: --release --test loom
|
||||||
|
env:
|
||||||
|
LOOM_MAX_PREEMPTIONS: 2
|
||||||
|
RUSTFLAGS: "--cfg loom"
|
||||||
Loading…
Add table
Reference in a new issue