Skip to content

Commit

Permalink
Does this work?
Browse files Browse the repository at this point in the history
  • Loading branch information
chryswoods committed Jun 2, 2024
1 parent 19e06e6 commit 94827a7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/choose_branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,23 +55,21 @@ jobs:
python-version: ${{ matrix.python-version }}
activate-environment: sire_build
miniforge-version: latest
miniforge-variant: Mambaforge
use-mamba: true
#
- name: Clone the desired branch
run: git clone https://github.com/${{ env.REPO }} -b ${{ github.event.inputs.branch }} sire
#
- name: Setup Conda
run: mamba install -y -c conda-forge boa anaconda-client packaging pip-requirements-parser
run: conda install -y -c conda-forge conda-build boa anaconda-client packaging pip-requirements-parser
#
- name: Update Conda recipe
run: python ${{ github.workspace }}/sire/actions/update_recipe.py
#
- name: Prepare build location
run: mkdir ${{ github.workspace }}/build
#
- name: Build Conda package using mamba build
run: conda mambabuild -c conda-forge -c openbiosim/label/dev ${{ github.workspace }}/sire/recipes/sire
- name: Build Conda package using conda build
run: conda build -c conda-forge -c openbiosim/label/dev ${{ github.workspace }}/sire/recipes/sire
#
- name: Upload Conda package
# Maybe add the logic here that this is a dev package?
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/devel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
run: git clone https://github.com/${{ env.REPO }} sire
#
- name: Setup Conda
run: conda install -y -c conda-forge conda-build anaconda-client packaging pip-requirements-parser
run: conda install -y -c conda-forge conda-build boa anaconda-client packaging pip-requirements-parser
#
- name: Update Conda recipe
run: python ${{ github.workspace }}/sire/actions/update_recipe.py
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
run: git clone -b main https://github.com/openbiosim/sire sire
#
- name: Setup Conda
run: conda install -y -c conda-forge conda-build anaconda-client packaging pip-requirements-parser
run: conda install -y -c conda-forge conda-build boa anaconda-client packaging pip-requirements-parser
#
- name: Update Conda recipe
run: python ${{ github.workspace }}/sire/actions/update_recipe.py
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
run: git clone -b ${{ github.head_ref }} --single-branch https://github.com/${{ env.REPO }} sire
#
- name: Setup Conda
run: conda install -y -c conda-forge conda-build anaconda-client packaging pip-requirements-parser
run: conda install -y -c conda-forge conda-build boa anaconda-client packaging pip-requirements-parser
#
- name: Update Conda recipe
run: python ${{ github.workspace }}/sire/actions/update_recipe.py
Expand Down

0 comments on commit 94827a7

Please sign in to comment.