| @@ -150,6 +150,7 @@ jobs: | |||||
| matrix: | matrix: | ||||
| msystem: [MINGW64, MINGW32, CLANG64] | msystem: [MINGW64, MINGW32, CLANG64] | ||||
| idx: [int32, int64] | idx: [int32, int64] | ||||
| build-type: [Release] | |||||
| include: | include: | ||||
| - msystem: MINGW64 | - msystem: MINGW64 | ||||
| idx: int32 | idx: int32 | ||||
| @@ -173,6 +174,11 @@ jobs: | |||||
| idx64-flags: -DBINARY=64 -DINTERFACE64=1 | idx64-flags: -DBINARY=64 -DINTERFACE64=1 | ||||
| target-prefix: mingw-w64-clang-x86_64 | target-prefix: mingw-w64-clang-x86_64 | ||||
| c-lapack-flags: -DC_LAPACK=ON | c-lapack-flags: -DC_LAPACK=ON | ||||
| - msystem: MINGW64 | |||||
| idx: int32 | |||||
| target-prefix: mingw-w64-x86_64 | |||||
| fc-pkg: mingw-w64-x86_64-gcc-fortran | |||||
| build-type: None | |||||
| exclude: | exclude: | ||||
| - msystem: MINGW32 | - msystem: MINGW32 | ||||
| idx: int64 | idx: int64 | ||||
| @@ -215,11 +221,11 @@ jobs: | |||||
| path: C:/msys64/home/runneradmin/.ccache | path: C:/msys64/home/runneradmin/.ccache | ||||
| # We include the commit sha in the cache key, as new cache entries are | # We include the commit sha in the cache key, as new cache entries are | ||||
| # only created if there is no existing entry for the key yet. | # only created if there is no existing entry for the key yet. | ||||
| key: ccache-msys2-${{ matrix.msystem }}-${{ matrix.idx }}-${{ github.ref }}-${{ github.sha }} | |||||
| key: ccache-msys2-${{ matrix.msystem }}-${{ matrix.idx }}-${{ matrix.build-type }}-${{ github.ref }}-${{ github.sha }} | |||||
| # Restore a matching ccache cache entry. Prefer same branch. | # Restore a matching ccache cache entry. Prefer same branch. | ||||
| restore-keys: | | restore-keys: | | ||||
| ccache-msys2-${{ matrix.msystem }}-${{ matrix.idx }}-${{ github.ref }} | |||||
| ccache-msys2-${{ matrix.msystem }}-${{ matrix.idx }} | |||||
| ccache-msys2-${{ matrix.msystem }}-${{ matrix.idx }}-${{ matrix.build-type }}-${{ github.ref }} | |||||
| ccache-msys2-${{ matrix.msystem }}-${{ matrix.idx }}-${{ matrix.build-type }} | |||||
| - name: Configure ccache | - name: Configure ccache | ||||
| # Limit the maximum size and switch on compression to avoid exceeding the total disk or cache quota. | # Limit the maximum size and switch on compression to avoid exceeding the total disk or cache quota. | ||||
| @@ -235,7 +241,7 @@ jobs: | |||||
| - name: Configure OpenBLAS | - name: Configure OpenBLAS | ||||
| run: | | run: | | ||||
| mkdir build && cd build | mkdir build && cd build | ||||
| cmake -DCMAKE_BUILD_TYPE=Release \ | |||||
| cmake -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} \ | |||||
| -DBUILD_SHARED_LIBS=ON \ | -DBUILD_SHARED_LIBS=ON \ | ||||
| -DBUILD_STATIC_LIBS=ON \ | -DBUILD_STATIC_LIBS=ON \ | ||||
| -DDYNAMIC_ARCH=ON \ | -DDYNAMIC_ARCH=ON \ | ||||