linfa-linalg 0.2.1

Pure-Rust implementation of linear algebra routines for ndarray
Documentation
on: [push, pull_request]

name: Check For Build Errors

jobs:
  check:
    name: check-${{ matrix.toolchain }}-${{ matrix.os }}
    runs-on: ${{ matrix.os }}
    strategy:
      fail-fast: false
      matrix:
        toolchain: 
          - 1.65.0
          - stable
          - nightly
        os:
          - ubuntu-latest
          - windows-latest
    continue-on-error: ${{ matrix.toolchain == 'nightly' }}

    steps:
      - name: Checkout sources
        uses: actions/checkout@v2

      - name: Install toolchain
        uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: ${{ matrix.toolchain }}
          override: true

      - name: Run cargo check
        uses: actions-rs/cargo@v1
        with:
          command: check
          args: --all-features

  doc:
    name: doc
    runs-on: ubuntu-latest

    steps:
      - name: Checkout sources
        uses: actions/checkout@v2

      - name: Install toolchain
        uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: stable
          override: true
          components: rust-src

      - name: Build Documentation
        uses: actions-rs/cargo@v1
        with:
          command: doc
          args: --no-deps