malloc() on Windows cannot be sound for aligned types #21
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
stable-test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Clippy | |
run: cargo clippy | |
- name: Format | |
run: cargo fmt -- --check | |
- name: Test | |
run: cargo test | |
- name: Test (no features) | |
run: cargo test --no-default-features | |
- name: Test (no stable_deref_trait) | |
run: cargo test --no-default-features --features std | |
- name: Test (no-std) | |
run: cargo test --no-default-features --features stable_deref_trait | |
platform-test: | |
strategy: | |
fail-fast: true | |
matrix: | |
platform: | |
- os: ubuntu-latest | |
rust: 1.36.0 | |
- os: ubuntu-latest | |
rust: nightly | |
- os: windows-latest | |
rust: stable | |
- os: macos-latest | |
rust: stable | |
runs-on: ${{ matrix.platform.os }} | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
name: Install Rust | |
with: | |
toolchain: ${{ matrix.platform.rust }} | |
profile: minimal | |
default: true | |
- name: Test | |
run: cargo test | |
- name: Test (no-std) | |
run: cargo test --no-default-features |