Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete conda-recipes Overhaul #18

Merged
merged 6 commits into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions .github/workflows/build_packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Build Packages

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
workflow_dispatch:
push:
branches:
- stable
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13, macos-latest, windows-latest]
recipe: [symmetry]
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v4
- name: Setup Conda
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: false
conda-solver: libmamba
auto-activate-base: true
activate-environment: ""
- name: Install Build Tools
run: conda install python anaconda-client conda-build
- name: Configure Auto-Upload
if: github.ref == 'refs/heads/stable'
run: |
conda config --set anaconda_upload yes
- name: Build Binary
run: |
# set a default value to the conda_token if needed (like from forks)
: "${CONDA_TOKEN:=${{ secrets.ANACONDA_TOKEN }}}"
: "${CONDA_TOKEN:=default_value}"
echo "CONDA_TOKEN=$CONDA_TOKEN" >> $GITHUB_ENV
conda config --add channels conda-forge
conda config --add channels rmg
conda build --token $CONDA_TOKEN --user rmg ${{ matrix.recipe }}
result:
if: ${{ always() }}
runs-on: ubuntu-latest
name: Final Results
needs: [build]
steps:
- run: exit 1
# see https://github.com/orgs/community/discussions/26822?sort=new#discussioncomment-8285141
if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped') }}
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
*~
*.swp
*.idea/
14 changes: 0 additions & 14 deletions CoolProp/bld.bat

This file was deleted.

12 changes: 0 additions & 12 deletions CoolProp/build.sh

This file was deleted.

66 changes: 0 additions & 66 deletions CoolProp/meta.yaml

This file was deleted.

12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
# Conda Recipes for RMG-Py dependencies

Example recipes for the new conda build system. Use
Example recipes for the conda build system.
Run `conda build <recipe directory>`.

conda build <recipe directory>

You have to use conda >= 1.7
[conda](https://github.com/continuumio/conda).

See http://docs.continuum.io/conda/build.html for information on how to make a recipe,
or just look at the examples here.
You have to use `conda >= 23.1.0` - see the [installation instructions](https://docs.anaconda.com/free/anaconda/install/).

See [the `conda` documentation](https://docs.conda.io/projects/conda-build/en/latest/user-guide/tutorials/build-pkgs.html) for information on how to make a recipe or just look at the examples here.
37 changes: 0 additions & 37 deletions cairo/bld.bat

This file was deleted.

30 changes: 0 additions & 30 deletions cairo/build.sh

This file was deleted.

44 changes: 0 additions & 44 deletions cairo/meta.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions cairocffi/bld.bat

This file was deleted.

7 changes: 0 additions & 7 deletions cairocffi/build.sh

This file was deleted.

44 changes: 0 additions & 44 deletions cairocffi/meta.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions cairocffi/run_test.sh

This file was deleted.

17 changes: 0 additions & 17 deletions cairocffi/search-conda-libs.diff

This file was deleted.

11 changes: 0 additions & 11 deletions cclib/build.sh

This file was deleted.

Loading