Skip to content

Commit

Permalink
updated CI pipelines/actions
Browse files Browse the repository at this point in the history
  • Loading branch information
k-dominik committed Jan 28, 2025
1 parent 233441d commit 7326667
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 17 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,26 @@ jobs:
# noarch build - build on linux, only
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: ilastik/ilastik-conda-recipes
path: ilastik-conda-recipes
- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
auto-activate-base: true
activate-environment: ""
miniforge-variant: Mambaforge
use-mamba: true
channel-priority: strict
miniforge-version: latest
conda-solver: libmamba
- name: linux conda build and upload
shell: bash -l {0}
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
run: |
mamba install -n base -c conda-forge boa setuptools_scm anaconda-client -y
mamba install -n base -c conda-forge conda-build anaconda-client -y
mamba config --set anaconda_upload yes
conda mambabuild -c ilastik-forge -c conda-forge -m ilastik-conda-recipes/ilastik-pins.yaml --user ilastik-forge conda-recipe
conda build -c ilastik-forge -c conda-forge -m ilastik-conda-recipes/ilastik-pins.yaml --user ilastik-forge conda-recipe
21 changes: 11 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,28 @@ jobs:
os: [macos-latest, windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: ""
auto-activate-base: true
auto-update-conda: true
miniforge-variant: Mambaforge
use-mamba: true
auto-activate-base: true
activate-environment: ""
channel-priority: strict
miniforge-version: latest
conda-solver: libmamba
- name: install build deps
run: mamba install -n base -c conda-forge boa setuptools_scm -y
run: mamba install -n base -c conda-forge conda-build -y
- name: linux conda build test
if: matrix.os == 'ubuntu-latest'
shell: bash -l {0}
run: conda mambabuild -c ilastik-forge -c conda-forge conda-recipe
run: conda build -c ilastik-forge -c conda-forge conda-recipe
- name: osx test
if: matrix.os == 'macos-latest'
shell: bash -l {0}
run: conda mambabuild -c ilastik-forge -c conda-forge conda-recipe
run: conda build -c ilastik-forge -c conda-forge conda-recipe
- name: windows conda-build
if: matrix.os == 'windows-latest'
shell: cmd /C CALL {0}
run: conda mambabuild -c ilastik-forge -c conda-forge conda-recipe
run: conda build -c ilastik-forge -c conda-forge conda-recipe
1 change: 1 addition & 0 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ requirements:
host:
- python >=3.6
- setuptools
- setuptools_scm
- pip
run:
- dpct
Expand Down

0 comments on commit 7326667

Please sign in to comment.