1- name : Build conda packages
1+ name : Build Conda Packages
22
33on :
44 workflow_dispatch :
55
66jobs :
7- build_wheels :
8- name : Build wheels on
7+ build :
98 runs-on : ${{ matrix.os }}
109 strategy :
11- fail-fast : false
1210 matrix :
13- os : ${{ fromJSON(vars.BUILD_OS)}}
14- python-version : ${{ fromJSON(vars.PYTHON_VERSIONS)}}
11+ os : ${{ fromJSON(vars.BUILD_OS) }}
12+ python : ${{ fromJSON(vars.PYTHON_VERSIONS) }}
13+
1514 steps :
1615 - uses : conda-incubator/setup-miniconda@v3
1716 with :
1817 auto-update-conda : true
19- python-version : ${{ matrix.python-version }}
18+ python-version : ${{ matrix.python }}
2019
2120 - uses : actions/checkout@v4
22- - name : update submodules
23- # shell: bash -l {0}
24- run : |
25- git submodule update --init --recursive
26- - name : Conda build
27- env :
28- ANACONDA_API_TOKEN : ${{ secrets.ANACONDA_TOKEN }}
29- shell : bash -l {0}
21+
22+ - run : git submodule update --init --recursive
23+
24+ - run : |
25+ conda update -n base -c defaults --all -y
26+ conda config --set solver classic
27+ conda install -n base -c conda-forge gxx_linux-64 sysroot_linux-64 libgcc-ng libstdcxx-ng -y
28+ conda install -c conda-forge conda-build anaconda-client conda-verify -y
29+ conda install -c conda-forge -c loop3d --file requirements.txt -y
30+
31+ - env :
32+ ANACONDA_API_TOKEN : ${{ secrets.ANACONDA_TOKEN }}
3033 run : |
31- conda update -n base -c defaults --all -y
32- conda config --set solver classic
33- conda install -c conda-forge conda-build anaconda-client conda-verify -y
34- conda install -c conda-forge -c loop3d --file requirements.txt -y
35- conda build -c anaconda -c conda-forge -c loop3d --output-folder conda conda --python ${{ matrix.python-version }}
36- anaconda upload --label main conda/*/*.tar.bz2
37-
38- - name : upload artifacts
39- uses : actions/upload-artifact@v4
34+ conda build -c anaconda -c conda-forge -c loop3d --output-folder conda conda --python ${{ matrix.python }}
35+ anaconda upload --label main conda/*/*.tar.bz2
36+
37+ - uses : actions/upload-artifact@v4
4038 with :
41- name : conda-build-${{matrix.os}}-${{ matrix.python-version }}
42- path : conda
39+ name : conda-build-${{ matrix.os }}-${{ matrix.python }}
40+ path : conda
0 commit comments