Skip to content

feat: new deferred_free API #8

feat: new deferred_free API

feat: new deferred_free API #8

Workflow file for this run

name: Rust
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
mmap:
- ""
- "-F mmap"
mutex:
- ""
- "-F std_mutex"
- "-F spin_mutex"
deferred_free:
- ""
- "-F deferred_free"
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Calculate features
id: features
run: echo "features=${{ matrix.mmap }} ${{ matrix.mutex }} ${{ matrix.deferred_free }}" >> "$GITHUB_OUTPUT"
- name: Clippy
run: cargo clippy ${{ steps.features.outputs.features }}
- name: Build
run: cargo build ${{ steps.features.outputs.features }}
- name: Run tests
run: cargo test ${{ steps.features.outputs.features }} --release -- --test-threads 1