Skip to content

Commit

Permalink
add win, mamba, 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
StRigaud committed Nov 21, 2024
1 parent dc32252 commit 12ce937
Showing 1 changed file with 25 additions and 14 deletions.
39 changes: 25 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]
platform: [ubuntu-latest, macos-latest] #, windows-latest]
python-version: ["3.9", "3.13"]
platform: [ubuntu-latest, macos-latest, windows-latest]
defaults:
run:
shell: "bash -l {0}"
Expand All @@ -26,19 +26,30 @@ jobs:
id: checkout
uses: actions/checkout@v4

- name: Get conda - ${{ matrix.python-version }}
id: get-conda
uses: conda-incubator/setup-miniconda@v3
- name: setup micromamba
id: setup-micromamba
uses: mamba-org/setup-[email protected]
with:
python-version: ${{ matrix.python-version }}
miniforge-version: latest
activate-environment: test
use-mamba: true
cache-environment: true
post-cleanup: 'all'
create-args: >-
python=${{ matrix.python-version }}
pytest pytest-cov pytest-benchmark scikit-image
- name: Dependencies
id: install-dependencies
run: |
mamba install -y pytest pytest-cov pytest-benchmark scikit-image
# - name: Get conda - ${{ matrix.python-version }}
# id: get-conda
# uses: conda-incubator/setup-miniconda@v3
# with:
# python-version: ${{ matrix.python-version }}
# miniforge-version: latest
# activate-environment: test
# use-mamba: true

# - name: Dependencies
# id: install-dependencies
# run: |
# mamba install -y pytest pytest-cov pytest-benchmark scikit-image

- name: Install OpenCL (pocl)
id: install-pocl
Expand All @@ -55,7 +66,7 @@ jobs:
- name: Build
id: build
run: |
pip install . -vvv --config-settings=cmake.define.CMAKE_PREFIX_PATH=$CONDA_PREFIX
pip install . -v --config-settings=cmake.define.CMAKE_PREFIX_PATH=$CONDA_PREFIX
- name: Test
id: test
Expand Down

0 comments on commit 12ce937

Please sign in to comment.