[Feature] Add Least Angle Regression #1335
This file contains hidden or 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
| 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.87.0 | |
| - stable | |
| - nightly | |
| os: | |
| - ubuntu-latest | |
| - windows-latest | |
| continue-on-error: ${{ matrix.toolchain == 'nightly' }} | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@master | |
| - name: Install toolchain | |
| uses: dtolnay/rust-toolchain@master | |
| with: | |
| toolchain: ${{ matrix.toolchain }} | |
| - name: Log active toolchain | |
| run: rustup show | |
| - name: Update ndarray to 0.16.1 (temporary workaround to avoid pulling ndarray 0.17.1) | |
| run: cargo update -p ndarray:0.17.1 --precise 0.16.1 | |
| # Check if linfa compiles by itself without uniting dependency features with other crates | |
| - name: Run cargo check on linfa | |
| run: cargo check | |
| - name: Run cargo check (no features) | |
| run: cargo check --workspace --all-targets | |
| - name: Run cargo check (with serde) | |
| run: cargo check --workspace --all-targets --features "linfa-clustering/serde linfa-ica/serde linfa-kernel/serde linfa-reduction/serde linfa-svm/serde linfa-elasticnet/serde linfa-pls/serde linfa-trees/serde linfa-nn/serde linfa-linear/serde linfa-preprocessing/serde linfa-bayes/serde linfa-logistic/serde linfa-ftrl/serde" |