123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- on:
- push:
- branches:
- - main
- paths:
- - '**.rs'
- - '**/Cargo.toml'
- workflow_dispatch:
- pull_request:
- paths:
- - '**.rs'
- - '**/Cargo.toml'
- name: Loom Models
- env:
- LOOM_MAX_PREEMPTIONS: 2
- LOOM_LOG: loom=trace
- RUSTFLAGS: "--cfg loom"
- jobs:
- loom_mpsc_send_recv_wrap:
- name: "mpsc_send_recv_wrap"
- 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_send_recv_wrap
- loom_mpsc_try_send_recv:
- name: "mpsc_try_send_recv"
- 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_try_send_recv
- 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
- RUSTFLAGS: "--cfg loom --cfg ci_skip_slow_models"
- 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
|