forked from ilastik/ilastiktools
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: test | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
test-w-conda-recipe: | ||
strategy: | ||
matrix: | ||
os: [macos-latest, windows-latest, ubuntu-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
submodules: true | ||
- uses: actions/checkout@v3 | ||
with: | ||
repository: ilastik/ilastik-conda-recipes | ||
path: ilastik-conda-recipes | ||
- uses: maxim-lobanov/setup-xcode@v1 | ||
if: matrix.os == 'macos-latest' | ||
with: | ||
xcode-version: '14.0' | ||
- uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
auto-update-conda: true | ||
auto-activate-base: true | ||
activate-environment: "" | ||
channel-priority: strict | ||
miniforge-variant: Mambaforge | ||
use-mamba: true | ||
- name: install common dependencies | ||
run: mamba install -n base -c conda-forge conda-build boa -y | ||
- name: linux conda build | ||
if: matrix.os == 'ubuntu-latest' | ||
shell: bash -l {0} | ||
run: conda mambabuild -c conda-forge -m ilastik-conda-recipes/ilastik-pins.yaml conda-recipe | ||
- name: osx conda build | ||
if: matrix.os == 'macos-latest' | ||
shell: bash -l {0} | ||
run: conda mambabuild -c conda-forge -m ilastik-conda-recipes/ilastik-pins.yaml conda-recipe | ||
- name: windows conda build | ||
if: matrix.os == 'windows-latest' | ||
shell: cmd /C CALL {0} | ||
run: conda mambabuild -c conda-forge -m ilastik-conda-recipes/ilastik-pins.yaml conda-recipe |