123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- on:
- - push
- - pull_request
- - workflow_dispatch
- name: Loom Models
- env:
- LOOM_MAX_PREEMPTIONS: 2
- LOOM_LOG: loom=trace
- RUSTFLAGS: "--cfg loom"
- jobs:
- loom_mpsc_async:
- name: "mpsc"
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - name: Install stable toolchain
- uses: actions-rs/toolchain@v1
- with:
- profile: minimal
- toolchain: stable
- override: true
- components: rustfmt
- - name: Run cargo test
- uses: actions-rs/cargo@v1
- with:
- command: test
- args: --profile loom --lib -- mpsc_async
- loom_mpsc_sync:
- name: "mpsc::sync"
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - name: Install stable toolchain
- uses: actions-rs/toolchain@v1
- with:
- profile: minimal
- toolchain: stable
- override: true
- components: rustfmt
- - name: Run cargo test
- uses: actions-rs/cargo@v1
- with:
- command: test
- args: --profile loom --lib -- mpsc_sync
- loom_thingbuf:
- name: "ThingBuf"
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - name: Install stable toolchain
- uses: actions-rs/toolchain@v1
- with:
- profile: minimal
- toolchain: stable
- override: true
- components: rustfmt
- - name: Run cargo test
- uses: actions-rs/cargo@v1
- with:
- command: test
- args: --profile loom --lib -- thingbuf
- loom_util:
- name: "util"
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - name: Install stable toolchain
- uses: actions-rs/toolchain@v1
- with:
- profile: minimal
- toolchain: stable
- override: true
- components: rustfmt
- - name: Run cargo test
- uses: actions-rs/cargo@v1
- with:
- command: test
- args: --profile loom --lib -- util
|