Skip to content

Merge pull request #29 from jkawamoto/update_docs #82

Merge pull request #29 from jkawamoto/update_docs

Merge pull request #29 from jkawamoto/update_docs #82

Workflow file for this run

name: Rust library
on:
push:
branches:
- main
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-13, macos-14 ]
runs-on: ${{ matrix.os }}
steps:
- name: Install OpenBLAS
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
sudo apt-get update
sudo apt-get install -y cmake libclang-dev libopenblas-dev
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --verbose
env:
LIBRARY_PATH: /usr/lib/x86_64-linux-gnu
CXXFLAGS: -std=c++17
- name: Run tests
run: cargo test --verbose