Skip to content

Commit e9d745b

Browse files
authored
Merge pull request #7 from OpenBioSim/feature_macos
Add macOS builds
2 parents 0d82318 + d83ca22 commit e9d745b

4 files changed

Lines changed: 20 additions & 2 deletions

File tree

.github/workflows/devel.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ jobs:
1616
python-version: ["3.10", "3.11", "3.12"]
1717
platform:
1818
- { name: "linux", os: "ubuntu-latest", shell: "bash -l {0}" }
19+
- { name: "macos", os: "macos-latest", shell: "bash -l {0}" }
20+
exclude:
21+
# Exclude all but the latest Python from all
22+
# but Linux
23+
- platform:
24+
{ name: "macos", os: "macos-latest", shell: "bash -l {0}" }
25+
python-version: "3.12" # MacOS can't run 3.12 yet... We want 3.10 and 3.11
1926
environment:
2027
name: loch-build
2128
defaults:

.github/workflows/main.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
python-version: ["3.10", "3.11", "3.12"]
2020
platform:
2121
- { name: "linux", os: "ubuntu-latest", shell: "bash -l {0}" }
22+
- { name: "macos", os: "macos-latest", shell: "bash -l {0}" }
2223
environment:
2324
name: loch-build
2425
defaults:

.github/workflows/pr.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,16 @@ jobs:
1515
python-version: ["3.10", "3.11", "3.12"]
1616
platform:
1717
- { name: "linux", os: "ubuntu-latest", shell: "bash -l {0}" }
18+
- { name: "macos", os: "macos-latest", shell: "bash -l {0}" }
19+
exclude:
20+
# Exclude all but the latest Python from all
21+
# but Linux
22+
- platform:
23+
{ name: "macos", os: "macos-latest", shell: "bash -l {0}" }
24+
python-version: "3.10"
25+
- platform:
26+
{ name: "macos", os: "macos-latest", shell: "bash -l {0}" }
27+
python-version: "3.12" # MacOS can't run 3.12 yet...
1828
environment:
1929
name: loch-build
2030
defaults:

recipes/loch/template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ requirements:
1717
- biosimspace
1818
- loguru
1919
- pip
20-
- pycuda # [not macos]
20+
- pycuda # [not osx]
2121
- pyopencl
2222
- python
2323
- setuptools
@@ -26,7 +26,7 @@ requirements:
2626
run:
2727
- biosimspace
2828
- loguru
29-
- pycuda # [not macos]
29+
- pycuda # [not osx]
3030
- python
3131
- sire
3232

0 commit comments

Comments
 (0)