remove numpy restriction #60
This file contains hidden or 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
| 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 |