File tree 1 file changed +11
-1
lines changed
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -39,22 +39,32 @@ jobs:
39
39
40
40
strategy :
41
41
matrix :
42
+ os : [ubuntu-latest, macos-latest]
42
43
python-version : ["3.9", "3.12"]
43
44
44
- runs-on : ubuntu-latest
45
+ runs-on : ${{ matrix.os }}
45
46
steps :
46
47
- uses : actions/checkout@v4
47
48
48
49
- name : Install apt dependencies
50
+ if : matrix.os == 'ubuntu-latest'
49
51
run : |
50
52
sudo apt-get update
51
53
sudo apt-get install -y libopenmpi-dev openmpi-bin libhdf5-serial-dev
52
54
55
+ - name : Install brew dependencies
56
+ if : matrix.os == 'macos-latest'
57
+ run : |
58
+ brew install open-mpi hdf5
59
+
53
60
- name : Set up Python ${{ matrix.python-version }}
54
61
uses : actions/setup-python@v5
55
62
with :
56
63
python-version : ${{ matrix.python-version }}
57
64
65
+ - name : Update pip
66
+ run : pip install --upgrade pip
67
+
58
68
- name : Install pip dependencies
59
69
run : |
60
70
pip install -e .[compression,mpi,test]
You can’t perform that action at this time.
0 commit comments