Skip to content

Egor ask-and-tell interface #877

Egor ask-and-tell interface

Egor ask-and-tell interface #877

Workflow file for this run

name: tests
on:
pull_request:
branches: [ master ]
push:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: testing-${{ matrix.toolchain }}-${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
toolchain:
- 1.70.0
- stable
os:
- ubuntu-20.04
- windows-2019
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
override: true
- name: Log active toolchain
run: rustup show
- name: Run cargo test in release mode
uses: actions-rs/cargo@v1
with:
command: test
args: --all --release
test-nlopt:
name: testing-with-nlopt-${{ matrix.toolchain }}-${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
toolchain:
- stable
os:
- ubuntu-20.04
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
override: true
- name: Log active toolchain
run: rustup show
- name: Run cargo test in release mode
uses: actions-rs/cargo@v1
with:
command: test
args: --all --release --features nlopt
test-blas:
name: testing-with-blas-${{ matrix.toolchain }}-${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
toolchain:
- stable
os:
- ubuntu-20.04
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
override: true
- name: Log active toolchain
run: rustup show
- name: Run cargo test in release mode
uses: actions-rs/cargo@v1
with:
command: test
args: --all --release --features blas,linfa/intel-mkl-static