Merge pull request #105 from Dirreke/cross-compile #120
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 | |
pull_request: {} | |
workflow_dispatch: {} | |
jobs: | |
linux: | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
test_target: | |
- build_no_lapacke | |
- build_no_shared | |
- build_openmp | |
container: | |
image: rust | |
env: | |
RUST_BACKTRACE: 1 | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
submodules: "recursive" | |
- name: Install gfortran by apt | |
run: | | |
apt update | |
apt install -y gfortran | |
- name: Common minor tests | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --manifest-path=openblas-build/Cargo.toml | |
- name: Build test | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: ${{ matrix.test_target }} --manifest-path=openblas-build/Cargo.toml -- --ignored |