Skip to content

remove numpy restriction #60

remove numpy restriction

remove numpy restriction #60

Workflow file for this run

name: publish_conda
on:
push:
jobs:
conda-deploy:
name: Uploading to Loop3d for python ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ${{ fromJSON(vars.BUILD_OS)}}
python-version: ${{ fromJSON(vars.PYTHON_VERSIONS)}}
steps:
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v2
- name: update submodules
# shell: bash -l {0}
run: |
git submodule update --init --recursive
- name: Add msbuild to PATH
if: matrix.os == 'windows-latest'
uses: microsoft/[email protected]
- name: Conda build'
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
shell: bash -l {0}
run: |
conda install -c conda-forge conda-build scikit-build numpy conda-libmamba-solver cython anaconda-client -y
conda build -c anaconda -c conda-forge -c loop3d --output-folder conda conda
conda install anaconda-client -y
# - name: upload windows
# env:
# ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
# if: matrix.os == 'windows-latest'
# shell: bash -l {0}
# run: |
# anaconda upload --label main conda/win-64/*.tar.bz2
# - name: upload linux
# env:
# ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
# if: matrix.os == 'ubuntu-latest'
# shell: bash -l {0}
# run: |
# anaconda upload --label main conda/linux-64/*.tar.bz2
# - name: upload macosx
# env:
# ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
# if: matrix.os == 'macos-latest'
# shell: bash -l {0}
# run: |
# anaconda upload --label main conda/osx-64/*.tar.bz2