procfs 0.14.0

Interface to the linux procfs pseudo-filesystem
Documentation
name: Rust

on: [push, pull_request]



jobs:
  build:
    strategy:
      fail-fast: false
      matrix:
        toolchain: ["1.48.0", "stable", "beta", "nightly"]
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2

    - name: Install toolchains
      uses: actions-rs/toolchain@v1
      with:
        toolchain: ${{ matrix.toolchain }}
    
    - name: Build
      run: cargo +${{ matrix.toolchain }} build --verbose
    - name: Pin plotters
      if: matrix.toolchain == '1.48.0'
      run: cargo update -p plotters --precise 0.3.1
    - name: Run tests
      run: cargo +${{ matrix.toolchain }} test --verbose -- --skip _runsinglethread
    - name: Run tests (single-threaded tests)
      run: cargo +${{ matrix.toolchain }} test --verbose -- _runsinglethread --test-threads 1

    - name: Build docs (all features)
      run: cargo +${{ matrix.toolchain }} doc --all-features

    - name: Build docs
      run: cargo +${{ matrix.toolchain }} doc


  check:
    strategy:
      fail-fast: false
      matrix:
        toolchain: ["1.48.0", "stable", "beta", "nightly"]
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2

      - name: Install toolchains (aarch64)
        uses: actions-rs/toolchain@v1
        with:
          toolchain: ${{ matrix.toolchain }}
          target: aarch64-linux-android
      - name: Install toolchains (i686)
        uses: actions-rs/toolchain@v1
        with:
          toolchain: ${{ matrix.toolchain }}
          target: i686-unknown-linux-gnu

      - name: cargo check (aarch64)
        run: cargo +${{ matrix.toolchain }} check --target aarch64-linux-android
      - name: cargo check (i686)
        run: cargo +${{ matrix.toolchain }} check --target i686-unknown-linux-gnu