forked from HDFGroup/hdf5
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (35 loc) · 1.02 KB
/
h5py.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: h5py
on:
workflow_dispatch:
schedule:
- cron: "6 0 * * *"
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install Fortran
uses: fortran-lang/setup-fortran@v1
with:
compiler: gcc
version: 13
- name: Checkout Spack
uses: actions/[email protected]
with:
repository: spack/spack
path: ./spack
- name: Run a multi-line script
run: |
sed -i 's/[email protected]:1.14/[email protected]:/g' \
./spack/var/spack/repos/builtin/packages/py-h5py/package.py
. ./spack/share/spack/setup-env.sh
./spack/bin/spack spec py-h5py@master+mpi ^[email protected]
./spack/bin/spack install py-h5py@master+mpi ^[email protected]
./spack/bin/spack install py-pytest
./spack/bin/spack install py-ipython
spack load py-h5py
spack load py-pytest
spack load py-ipython
pip install pytest-mpi
python -c "import h5py; h5py.run_tests(); print(h5py.version.info);"