Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
build start
  • Loading branch information
calebho committed Dec 17, 2024
commit ed86db6b64d6000a860a1b41827e8f75a215000f
22 changes: 22 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build
on:
- push
jobs:
main:
runs-on: ubuntu-latest
container: nvidia/cuda:12.4.1-cudnn-devel-ubuntu22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install build dependencies
run: |
apt update --yes && apt install --yes ninja-build
python -m pip install torch build wheel setuptools
- run: python -m build --no-isolation --config-setting="--build-option=--cpp_ext" --config-setting="--build-option=--cuda_ext" ./
- name: Upload distributions
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/
6 changes: 6 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
graft csrc
graft docs
graft tests

include requirements.txt
include requirements_dev.txt