Merge pull request #134 from Dirreke/fix-ci #10
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: openblas-build | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'openblas-build/**' | |
- '.github/workflows/openblas-build.yml' | |
pull_request: | |
paths: | |
- 'openblas-build/**' | |
workflow_dispatch: {} | |
jobs: | |
linux: | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
test_target: | |
- build_no_lapacke | |
- build_no_shared | |
- build_openmp | |
env: | |
RUST_BACKTRACE: 1 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: "recursive" | |
- name: Install gfortran by apt | |
run: | | |
sudo apt update | |
sudo apt install -y gfortran | |
- name: Common minor tests | |
run: cargo test --manifest-path=openblas-build/Cargo.toml | |
- name: Build test | |
run: cargo test ${{ matrix.test_target }} --manifest-path=openblas-build/Cargo.toml -- --ignored |