Add conda packaging recipe and scheduled Anaconda.org upload workflow#680
Draft
Add conda packaging recipe and scheduled Anaconda.org upload workflow#680
Conversation
… uploads Co-authored-by: fbischoff <7567292+fbischoff@users.noreply.github.com> Agent-Logs-Url: https://github.com/m-a-d-n-e-s-s/madness/sessions/86fda38d-036f-4cad-9d90-d4c965a92f17
Co-authored-by: fbischoff <7567292+fbischoff@users.noreply.github.com> Agent-Logs-Url: https://github.com/m-a-d-n-e-s-s/madness/sessions/86fda38d-036f-4cad-9d90-d4c965a92f17
Copilot
AI
changed the title
[WIP] Update madness package for regular uploads to conda
Add conda packaging recipe and scheduled Anaconda.org upload workflow
Mar 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MADNESS has no conda packaging infrastructure. This adds a conda recipe and a GitHub Actions workflow to build and upload the package to Anaconda.org on a regular cadence.
New files
conda-recipe/meta.yaml— Conda recipe declaring build deps (cmake ≥3.12, ninja, C/C++/Fortran compilers), host/run deps (openmpi, libblas, liblapack), post-install smoke tests, and full package metadata (GPL-2.0-or-later, URLs, maintainers). Version is injected viaGIT_DESCRIBE_TAGenv var.conda-recipe/build.sh— Invoked byconda-build; runs cmake+ninja in Release mode, static libs, tests off, Pthreads backend, installs into$PREFIX..github/workflows/conda.yml— Workflow triggers:schedule)masterorv*tagsworkflow_dispatchVersion is resolved from the latest git tag, falling back to parsing
MADNESS_{MAJOR,MINOR,MICRO}_VERSIONout ofCMakeLists.txt— no hardcoded fallback. Upload to Anaconda.org (viaANACONDA_TOKENsecret) runs only on schedule, tag, or manual dispatch; PR builds build-only. Built packages are also archived as workflow artifacts. Workflow usespermissions: contents: read.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.