Skip to content

Commit

Permalink
ci: update spack mac action
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoklee committed Jul 22, 2023
1 parent cccafba commit 2d791f7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/spack-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,19 @@ jobs:
- name: Checkout Spack
uses: actions/checkout@v3
with:
repository: hyoklee/spack
repository: spack/spack
path: ./spack

- name: Run a multi-line script
run: |
sed -i 's/hdf5@1.8.4:1.14/hdf5@1.8.4:/g' ./spack/var/spack/repos/builtin/packages/py-h5py/package.py
./spack/bin/spack external find perl
./spack/bin/spack install py-h5py@master+mpi ^openblas@develop
./spack/bin/spack install py-pytest
./spack/bin/spack install py-ipython
./spack/bin/spack install py-pip
. ./spack/share/spack/setup-env.sh
spack load py-h5py
spack load py-pytest
spack load py-ipython
spack load py-pip
pip install pytest-mpi
python -c "import h5py; h5py.run_tests(); print(h5py.version.info);"

0 comments on commit 2d791f7

Please sign in to comment.