-
Notifications
You must be signed in to change notification settings - Fork 12
49 lines (45 loc) · 1.42 KB
/
loom.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Loom
on:
workflow_dispatch:
pull_request:
paths:
- 'nexosim/src/channel.rs'
- 'nexosim/src/channel/**'
- 'nexosim/src/executor/task.rs'
- 'nexosim/src/executor/task/**'
- 'nexosim/src/loom_exports.rs'
- 'nexosim/src/ports/output/broadcaster.rs'
- 'nexosim/src/ports/output/broadcaster/**'
- 'nexosim/src/ports/source/broadcaster.rs'
- 'nexosim/src/ports/source/broadcaster/**'
- 'nexosim/src/util/cached_rw_lock.rs'
- 'nexosim/src/util/slot.rs'
- 'nexosim/src/util/sync_cell.rs'
push:
branches: [ main ]
paths:
- 'nexosim/src/channel.rs'
- 'nexosim/src/channel/**'
- 'nexosim/src/executor/task.rs'
- 'nexosim/src/executor/task/**'
- 'nexosim/src/loom_exports.rs'
- 'nexosim/src/ports/output/broadcaster.rs'
- 'nexosim/src/ports/output/broadcaster/**'
- 'nexosim/src/ports/source/broadcaster.rs'
- 'nexosim/src/ports/source/broadcaster/**'
- 'nexosim/src/util/cached_rw_lock.rs'
- 'nexosim/src/util/slot.rs'
- 'nexosim/src/util/sync_cell.rs'
jobs:
loom:
name: Loom
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run cargo test (Loom)
run: cargo test --lib --release
env:
RUSTFLAGS: --cfg nexosim_loom