Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use mamba to build, add conda-verify to check pkgs #39

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ jobs:
if: matrix.os == 'ubuntu-latest'
shell: bash -l {0}
run: |
conda install -n base -c conda-forge conda-build -y
xvfb-run conda build -c conda-forge conda-recipe
conda install -n base -c conda-forge conda-build mamba boa conda-verify -y
xvfb-run conda mambabuild -c conda-forge conda-recipe
- name: osx conda build test
if: matrix.os == 'macos-latest'
shell: bash -l {0}
run: |
conda install -n base -c conda-forge conda-build -y
conda build -c conda-forge conda-recipe
conda install -n base -c conda-forge conda-build mamba boa conda-verify -y
conda mambabuild -c conda-forge conda-recipe
- name: windows conda build test
if: matrix.os == 'windows-latest'
shell: cmd /C CALL {0}
# auto activation of env does not seem to work on win
run: |
conda install -n base -c conda-forge conda-build -y & conda build -c conda-forge conda-recipe
conda install -n base -c conda-forge conda-build mamba boa conda-verify -y & conda mambabuild -c conda-forge conda-recipe
2 changes: 2 additions & 0 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@ requirements:
- python
- boost-cpp {{ boost }}
- pybind11
- llvm-openmp
run:
- {{ pin_compatible("python") }}
- numpy >=1.12
- llvm-openmp

test:
imports:
Expand Down