Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tpeulen committed Sep 20, 2024
1 parent 9ac5563 commit e13a5e9
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/conda-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,24 @@ jobs:
conda config --show
printenv | sort
- name: Build Conda Package
# Conditional build step to avoid using headless-gui on Windows
- name: Build Conda Package on non-Windows OS
if: matrix.os != 'windows-latest'
uses: aganders3/headless-gui@v1
with:
shell: bash -el {0}
run: |
conda config --add channels tpeulen
mamba install conda-build boa
cd conda-recipe
curl -sLO https://raw.githubusercontent.com/conda-forge/conda-forge-pinning-feedstock/084b098a28a7a66e9a0967d156bc55b9ebfc6726/recipe/conda_build_config.yaml
# curl -sLO https://raw.githubusercontent.com/conda-forge/conda-forge-pinning-feedstock/084b098a28a7a66e9a0967d156bc55b9ebfc6726/recipe/conda_build_config.yaml
# curl -sLO https://github.com/conda-forge/conda-forge-pinning-feedstock/raw/main/recipe/conda_build_config.yaml
conda mambabuild .
- name: Build Conda Package on Windows
if: matrix.os == 'windows-latest'
run: |
conda config --add channels tpeulen
mamba install conda-build boa
cd conda-recipe
conda mambabuild .

0 comments on commit e13a5e9

Please sign in to comment.