Skip to content

Commit

Permalink
In process
Browse files Browse the repository at this point in the history
  • Loading branch information
dprada committed Jun 28, 2023
1 parent 4446f98 commit b46a04a
Show file tree
Hide file tree
Showing 8 changed files with 47 additions and 39 deletions.
76 changes: 38 additions & 38 deletions .github/workflows/build_and_upload_conda_packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,47 +18,47 @@ jobs:

steps:

- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Additional info about the build
shell: bash
run: |
uname -a
- name: Additional info about the build
shell: bash
run: |
uname -a
- name: Setup conda env
uses: mamba-org/setup-micromamba@v1
with:
environment-file: devtools/conda-envs/build_env.yaml
environment-name: build
condarc: |
channels:
- uibcdf
- conda-forge
- ambermd
- defaults
channel_priority: strict
- name: Setup conda env
uses: mamba-org/setup-micromamba@v1
with:
environment-file: devtools/conda-envs/build_env.yaml
environment-name: build
condarc: |
channels:
- uibcdf
- conda-forge
- ambermd
- defaults
channel_priority: strict
create-args: >-
python=${{ matrix.python-version }}
create-args: >-
python=${{ matrix.python-version }}
- name: Info conda
shell: bash -l {0}
run: |
micromamba info
micromamba list
- name: Info conda
shell: bash -l {0}
run: |
micromamba info
micromamba list
- name: Build and upload the conda packages
uses: uibcdf/[email protected]
with:
meta_yaml_dir: devtools/conda-build
python-version: ${{ matrix.python-version }} # Values previously defined in `matrix`
mambabuild: false
user: uibcdf
label: auto
platform_linux-64: true
platform_osx-64: true
platform_win-64: false
token: ${{ secrets.ANACONDA_UIBCDF_TOKEN }} # Replace with the right name of your secret
- name: Build and upload the conda packages
uses: uibcdf/[email protected]
with:
meta_yaml_dir: devtools/conda-build
python-version: ${{ matrix.python-version }} # Values previously defined in `matrix`
mambabuild: false
user: uibcdf
label: auto
platform_linux-64: true
platform_osx-64: true
platform_win-64: false
token: ${{ secrets.ANACONDA_UIBCDF_TOKEN }} # Replace with the right name of your secret

2 changes: 2 additions & 0 deletions devtools/conda-build/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ build:
number: 1
requirements:
build:
- python
- pip
- setuptools >=61.0
- versioningit~=2.0
run:
- python
- pip
- setuptools >=61.0
- versioningit~=2.0
Expand Down
2 changes: 2 additions & 0 deletions devtools/conda-envs/development_env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ channels:
- ambermd
- defaults
dependencies:
- python
- pip
- setuptools >=61.0
- versioningit~=2.0
Expand Down Expand Up @@ -38,3 +39,4 @@ dependencies:
- seaborn
- nbsphinx
- jupyterlab
- plotly
1 change: 1 addition & 0 deletions devtools/conda-envs/docs_env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ channels:
- ambermd
- defaults
dependencies:
- python
- pip
- setuptools >=61.0
- versioningit~=2.0
Expand Down
1 change: 1 addition & 0 deletions devtools/conda-envs/production_env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ channels:
- ambermd
- defaults
dependencies:
- python
- pip
- setuptools >=61.0
- versioningit~=2.0
Expand Down
1 change: 1 addition & 0 deletions devtools/conda-envs/setup_env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ channels:
- ambermd
- defaults
dependencies:
- python
- pip
- setuptools >=61.0
- versioningit~=2.0
1 change: 1 addition & 0 deletions devtools/conda-envs/test_env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ channels:
- ambermd
- defaults
dependencies:
- python
- pip
- setuptools >=61.0
- versioningit~=2.0
Expand Down
2 changes: 1 addition & 1 deletion devtools/requirements.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ setup:
- ambermd
- defaults
dependencies: &setup_dependencies
# - python
- python
- pip
- setuptools >=61.0
- versioningit~=2.0
Expand Down

0 comments on commit b46a04a

Please sign in to comment.