|
58 | 58 | - name: Install fypp
|
59 | 59 | run: pip install fypp
|
60 | 60 |
|
| 61 | + # Build and test with build-in BLAS and LAPACK |
61 | 62 | - run: >-
|
62 | 63 | PATH=$PATH:/mingw64/bin/ cmake
|
63 | 64 | -Wdev
|
|
66 | 67 | -DCMAKE_Fortran_FLAGS_DEBUG="-Wall -Wextra -Wimplicit-interface -fPIC -g -fcheck=all -fbacktrace"
|
67 | 68 | -DCMAKE_MAXIMUM_RANK:String=4
|
68 | 69 | -DCMAKE_INSTALL_PREFIX=$PWD/_dist
|
| 70 | + -DFIND_BLAS:STRING=FALSE |
69 | 71 | env:
|
70 | 72 | FC: gfortran
|
71 | 73 | CC: gcc
|
|
89 | 91 |
|
90 | 92 | - name: Install project
|
91 | 93 | run: PATH=$PATH:/mingw64/bin/ cmake --install build
|
| 94 | + |
| 95 | + # Build and test with external BLAS and LAPACK (OpenBLAS) |
| 96 | + - run: >- |
| 97 | + PATH=$PATH:/mingw64/bin/ cmake |
| 98 | + -Wdev |
| 99 | + -B build_openblas |
| 100 | + -DCMAKE_BUILD_TYPE=Debug |
| 101 | + -DCMAKE_Fortran_FLAGS_DEBUG="-Wall -Wextra -Wimplicit-interface -fPIC -g -fcheck=all -fbacktrace" |
| 102 | + -DCMAKE_MAXIMUM_RANK:String=4 |
| 103 | + -DCMAKE_INSTALL_PREFIX=$PWD/_dist |
| 104 | + -DFIND_BLAS:STRING=TRUE |
| 105 | + env: |
| 106 | + FC: gfortran |
| 107 | + CC: gcc |
| 108 | + CXX: g++ |
| 109 | + |
| 110 | + - name: CMake build with OpenBLAS |
| 111 | + run: PATH=$PATH:/mingw64/bin/ cmake --build build_openblas --parallel |
| 112 | + |
| 113 | + - name: catch build fail |
| 114 | + run: PATH=$PATH:/mingw64/bin/ cmake --build build_openblas --verbose --parallel 1 |
| 115 | + if: failure() |
| 116 | + |
| 117 | + - name: CTest with OpenBLAS |
| 118 | + run: PATH=$PATH:/mingw64/bin/ ctest --test-dir build_openblas --output-on-failure --parallel -V -LE quadruple_precision |
| 119 | + |
| 120 | + - uses: actions/upload-artifact@v1 |
| 121 | + if: failure() |
| 122 | + with: |
| 123 | + name: WindowsCMakeTestlog_openblas |
| 124 | + path: build_openblas/Testing/Temporary/LastTest.log |
| 125 | + |
| 126 | + - name: Install project with OpenBLAS |
| 127 | + run: PATH=$PATH:/mingw64/bin/ cmake --install build_openblas |
0 commit comments