Skip to content

Rename dot_product to fdot_product in tests. #21

Rename dot_product to fdot_product in tests.

Rename dot_product to fdot_product in tests. #21

Workflow file for this run

name: test
on: [push]
jobs:
Build:
runs-on: ${{ matrix.os }}
permissions:
contents: write
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
toolchain:
- {compiler: gcc}
- {compiler: intel}
- {compiler: intel-classic}
- {compiler: nvidia-hpc}
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup Fortran Package Manager (fpm)
uses: fortran-lang/setup-fpm@v5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install LAPACK and BLAS
run: sudo apt-get install -y libblas-dev liblapack-dev
- name: Setup Fortran Compiler
uses: fortran-lang/setup-fortran@main
id: setup-fortran
with:
compiler: ${{ matrix.toolchain.compiler }}
version: ${{ matrix.toolchain.version }}
- name: Run Tests (Debug)
run: fpm test test1 --profile debug --compiler ${{env.FC}} --flag '-llapack -lblas'
- name: Run Tests (Release)
run: fpm test test1 --profile release --compiler ${{env.FC}} --flag '-llapack -lblas'