Skip to content

Commit d0bcb33

Browse files
installing python dependencies
1 parent 5d8be86 commit d0bcb33

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/cd.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ jobs:
8080
echo 'export PATH="/usr/local/opt/llvm/bin:$PATH"' >> /Users/runner/.bash_profile
8181
source /Users/runner/.bash_profile
8282
ln -s $(which gfortran-14) /usr/local/bin/gfortran
83+
84+
python3 -m pip install h5py numpy
8385
8486
gcc --version
8587
gfortran --version
@@ -101,6 +103,8 @@ jobs:
101103
echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> /Users/runner/.bash_profile
102104
ln -s /opt/homebrew/bin/gfortran-14 /usr/local/bin/gfortran
103105
106+
python3 -m pip install h5py numpy
107+
104108
gcc --version
105109
gfortran --version
106110
cmake --version
@@ -190,13 +194,14 @@ jobs:
190194
# limit-access-to-actor: false
191195

192196

193-
- name: Install Windows Dependencies
197+
- name: Install Windows Dependencies Part 1
194198
if: matrix.platform == 'windows-latest'
195199
uses: msys2/setup-msys2@v2
196200
with:
197201
msystem: CLANG64
198202
update: true
199203
install: >
204+
python3
200205
zip
201206
git
202207
mingw-w64-clang-x86_64-curl
@@ -209,6 +214,11 @@ jobs:
209214
mingw-w64-clang-x86_64-zlib
210215
mingw-w64-clang-x86_64-libaec
211216
217+
- name: Install Windows Dependencies Part 2
218+
if: matrix.platform == 'windows-latest'
219+
run:
220+
python3 -m pip install h5py numpy
221+
212222
# - name: Setup tmate session
213223
# uses: mxschmitt/action-tmate@v3
214224
# with:
@@ -263,7 +273,8 @@ jobs:
263273
if: matrix.platform == 'ubuntu-latest'
264274
run: |
265275
sudo apt-get update
266-
sudo apt-get install -y libboost-all-dev libhdf5-dev libzip-dev libbz2-dev ninja-build
276+
sudo apt-get install -y python3-pip libboost-all-dev libhdf5-dev libzip-dev libbz2-dev ninja-build
277+
python3 -m pip install h5py numpy
267278
268279
gcc --version
269280
gfortran --version

0 commit comments

Comments
 (0)