Skip to content

Commit a2c2913

Browse files
committed
OpenBLAS example in CI
1 parent 9216bdf commit a2c2913

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.github/workflows/meta.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,14 @@ jobs:
8181
run: |
8282
sudo apt-get update
8383
sudo apt install -y -q openmpi-bin libopenmpi-dev hwloc fabric libhdf5-dev \
84-
libhdf5-fortran-102 libnetcdf-dev libnetcdff-dev
84+
libhdf5-fortran-102 libnetcdf-dev libnetcdff-dev libopenblas-dev
8585
8686
- name: (Ubuntu) Install MPICH
8787
if: contains(matrix.os,'ubuntu') && contains(matrix.mpi,'mpich')
8888
run: |
8989
sudo apt-get update
9090
sudo apt install -y -q mpich hwloc fabric libhdf5-dev libhdf5-fortran-102 \
91-
libnetcdf-dev libnetcdff-dev
91+
libnetcdf-dev libnetcdff-dev libopenblas-dev
9292
9393
# Intel
9494

@@ -227,6 +227,11 @@ jobs:
227227
brew install netcdf
228228
brew install netcdf-fortran
229229
230+
- name: (macOS) Install homebrew OpenBLAS
231+
if: contains(matrix.os,'macos')
232+
run: |
233+
brew install openblas
234+
230235
# Phase 1: Bootstrap fpm with existing version
231236
- name: Install fpm
232237
uses: fortran-lang/setup-fpm@v5
@@ -334,4 +339,3 @@ jobs:
334339
shell: bash
335340
run: |
336341
ci/meta_tests.sh "$PWD/${{ env.FPM_RELEASE }}"
337-

ci/meta_tests.sh

+5
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,10 @@ pushd metapackage_netcdf
5252
"$fpm" run --verbose
5353
popd
5454

55+
pushd metapackage_blas
56+
"$fpm" build --verbose
57+
"$fpm" run --verbose
58+
popd
59+
5560
# Cleanup
5661
rm -rf ./*/build

0 commit comments

Comments
 (0)