Skip to content

Conda package workflow updated #45

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

Merged
merged 2 commits into from
May 19, 2022
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
11 changes: 5 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,11 @@ jobs:
cd ./conda # go to build dir

# Build for Linux
conda build -c conda-forge -c pytorch --output-folder . .
conda build --output-folder ./conda_build . .

# Convert to other platforms: OSX, WIN
conda convert -p osx-64 linux-64/*.tar.bz2
conda convert -p win-64 linux-64/*.tar.bz2
conda convert --platform all ./conda_build/linux-64/*.tar.bz2

anaconda upload --label main osx-64/*.tar.bz2
anaconda upload --label main linux-64/*.tar.bz2
anaconda upload --label main win-64/*.tar.bz2
anaconda upload --label main ./conda_build/osx-64/*.tar.bz2
anaconda upload --label main ./conda_build/linux-64/*.tar.bz2
anaconda upload --label main ./conda_build/win-64/*.tar.bz2
2 changes: 2 additions & 0 deletions conda/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"%PYTHON%" setup.py install
if errorlevel 1 exit 1
1 change: 1 addition & 0 deletions conda/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$PYTHON setup.py install
1 change: 1 addition & 0 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ package:

source:
path: ..
git_url: https://github.com/hyperdimensional-computing/torchhd

build:
number: 0
Expand Down