Skip to content

Commit

Permalink
debug conda CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
jmrohwer committed May 10, 2024
1 parent 7285145 commit d75fe31
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/build-conda.yml
Expand Up @@ -18,11 +18,6 @@ jobs:
steps:
- uses: actions/checkout@v4

# - uses: actions/setup-python@v5
# name: Install Python
# with:
# python-version: '3.11'

- name: (windows) Install rtools MinGW compilers
if: matrix.os == 'windows-latest'
run: |
Expand All @@ -39,21 +34,22 @@ jobs:
uses: s-weigand/setup-conda@v1
with:
update-conda: false
python-version: 3.11
conda-channels: conda-forge

- name: Prepare conda environment
run: |
conda install conda-verify anaconda-client
conda update --all
conda install mamba boa conda-verify anaconda-client
mamba update --all
mkdir build_output
- name: (unix) Build packages for ${{ matrix.os }}
if: matrix.os != 'windows-latest'
run: conda build --no-anaconda-upload --output-folder ./build_output ./packaging/conda-unix
run: conda mambabuild --no-anaconda-upload --output-folder ./build_output ./packaging/conda-unix

- name: (windows) Build packages for ${{ matrix.os }}
if: matrix.os == 'windows-latest'
run: conda build --no-anaconda-upload --output-folder ./build_output ./packaging/conda-win
run: conda mambabuild --no-anaconda-upload --output-folder ./build_output ./packaging/conda-win

- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit d75fe31

Please sign in to comment.