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