Skip to content

Commit

Permalink
Switch to conda-build.
Browse files Browse the repository at this point in the history
  • Loading branch information
ndilalla committed Aug 17, 2022
1 parent 448125f commit 19b9c0f
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/test_and_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,10 @@ jobs:
if [[ "${{matrix.os}}" == "ubuntu-latest" ]]; then
conda install -c conda-forge boa -n base
#conda install -c conda-forge boa -n base
conda mambabuild --no-build-id --python=${{matrix.python-version}} conda_recipe/xspec-modelsonly
#conda mambabuild --no-build-id --python=${{matrix.python-version}} conda_recipe/xspec-modelsonly
conda build --python=${{matrix.python-version}} conda_recipe/xspec-modelsonly
else
curl -LO -z MacOSX10.9.sdk.tar.xz https://github.com/phracker/MacOSX-SDKs/releases/download/10.13/MacOSX10.9.sdk.tar.xz
Expand Down Expand Up @@ -152,14 +153,16 @@ jobs:
run: |
# Build package
conda install -c conda-forge boa -n base
#conda install -c conda-forge boa -n base
if [[ "${{matrix.os}}" == "ubuntu-latest" ]]; then
conda mambabuild --no-build-id --python=${{matrix.python-version}} conda_recipe/xspec-modelsonly
#conda mambabuild --no-build-id --python=${{matrix.python-version}} conda_recipe/xspec-modelsonly
conda build --python=${{matrix.python-version}} conda_recipe/xspec-modelsonly
else
# there is some strange error about the prefix length
conda mambabuild --no-build-id --python=${{matrix.python-version}} conda_recipe/xspec-modelsonly
#conda mambabuild --no-build-id --python=${{matrix.python-version}} conda_recipe/xspec-modelsonly
conda build --python=${{matrix.python-version}} conda_recipe/xspec-modelsonly
fi
- name: Publish to Conda
Expand Down

0 comments on commit 19b9c0f

Please sign in to comment.