allocator-api2 0.2.16

Mirror of Rust's allocator API
Documentation
name: Check multiple targets

on:
  pull_request:
    types: [ opened, edited ]

env:
  CARGO_TERM_COLOR: always

jobs:
  check-targets:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        target:
        - i686-pc-windows-gnu
        - i686-pc-windows-msvc
        - i686-unknown-linux-gnu
        - x86_64-apple-darwin
        - x86_64-pc-windows-gnu
        - x86_64-pc-windows-msvc
        - x86_64-unknown-linux-gnu
        - wasm32-unknown-unknown
    steps:
    - uses: actions/checkout@v2
    - name: Install nightly toolchain
      uses: actions-rs/toolchain@v1
      with:
        profile: minimal
        toolchain: nightly
        target: ${{ matrix.target }}
    - name: Run cargo check
      uses: actions-rs/cargo@v1
      with:
        toolchain: nightly
        command: check
        args: --all --all-features