return array in std_mean #642
Workflow file for this run
This file contains 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
name: Rust Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build_and_test: | |
name: Test Suite - ${{ matrix.target }} | |
strategy: | |
matrix: | |
target: | |
#- i686-unknown-linux-gnu | |
- x86_64-unknown-linux-gnu | |
- aarch64-unknown-linux-gnu | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust toolchain | |
run: | | |
rustup update stable | |
rustup target add ${{ matrix.target }} | |
rustup default stable | |
- name: Install cross-compilation tools | |
run: cargo install cross --locked | |
- name: Run tests | |
run: cross test --target ${{ matrix.target }} --all-features | |
build_examples: | |
name: Build Examples | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust toolchain | |
run: | | |
rustup update stable | |
rustup target add x86_64-unknown-linux-gnu | |
rustup default stable | |
- name: Install cross-compilation tools | |
run: cargo install cross --locked | |
- name: Build examples | |
run: cross build --examples |