-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run tests in github action not circleci (#1896)
Summary: Pull Request resolved: #1896 Differential Revision: D65272512 Pulled By: bottler
- Loading branch information
1 parent
e138482
commit d68ec15
Showing
3 changed files
with
64 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: facebookresearch/pytorch3d/build_and_test | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
jobs: | ||
binary_linux_conda_cuda: | ||
runs-on: 4-core-ubuntu-gpu-t4 | ||
env: | ||
PYTHON_VERSION: "3.12" | ||
BUILD_VERSION: "${{ github.run_number }}" | ||
PYTORCH_VERSION: "2.4.1" | ||
CU_VERSION: "cu121" | ||
JUST_TESTRUN: 1 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Build and run tests | ||
run: |- | ||
conda create --name env --yes --quiet conda-build | ||
conda run --no-capture-output --name env python3 ./packaging/build_conda.py --use-conda-cuda |
This file contains 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
This file contains 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