diff --git a/.github/workflows/devel.yaml b/.github/workflows/devel.yaml index 902ace0..a5e117e 100644 --- a/.github/workflows/devel.yaml +++ b/.github/workflows/devel.yaml @@ -16,6 +16,13 @@ jobs: python-version: ["3.10", "3.11", "3.12"] platform: - { name: "linux", os: "ubuntu-latest", shell: "bash -l {0}" } + - { name: "macos", os: "macos-latest", shell: "bash -l {0}" } + exclude: + # Exclude all but the latest Python from all + # but Linux + - platform: + { name: "macos", os: "macos-latest", shell: "bash -l {0}" } + python-version: "3.12" # MacOS can't run 3.12 yet... We want 3.10 and 3.11 environment: name: loch-build defaults: diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 33beb4c..6ceb964 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -19,6 +19,7 @@ jobs: python-version: ["3.10", "3.11", "3.12"] platform: - { name: "linux", os: "ubuntu-latest", shell: "bash -l {0}" } + - { name: "macos", os: "macos-latest", shell: "bash -l {0}" } environment: name: loch-build defaults: diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index bdcd013..c6d7b35 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -15,6 +15,16 @@ jobs: python-version: ["3.10", "3.11", "3.12"] platform: - { name: "linux", os: "ubuntu-latest", shell: "bash -l {0}" } + - { name: "macos", os: "macos-latest", shell: "bash -l {0}" } + exclude: + # Exclude all but the latest Python from all + # but Linux + - platform: + { name: "macos", os: "macos-latest", shell: "bash -l {0}" } + python-version: "3.10" + - platform: + { name: "macos", os: "macos-latest", shell: "bash -l {0}" } + python-version: "3.12" # MacOS can't run 3.12 yet... environment: name: loch-build defaults: diff --git a/recipes/loch/template.yaml b/recipes/loch/template.yaml index 0096832..f0b01a5 100644 --- a/recipes/loch/template.yaml +++ b/recipes/loch/template.yaml @@ -17,7 +17,7 @@ requirements: - biosimspace - loguru - pip - - pycuda # [not macos] + - pycuda # [not osx] - pyopencl - python - setuptools @@ -26,7 +26,7 @@ requirements: run: - biosimspace - loguru - - pycuda # [not macos] + - pycuda # [not osx] - python - sire