Skip to content

Try github action

Try github action #29

Workflow file for this run

name: facebookresearch/pytorch3d/build_and_test
on:
pull_request:
branches:
- main
jobs:
binary_linux_conda_cuda:
defaults:
run:
shell: bash -l {0}
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: Setup & build
# uses: ./.github/actions/setup-env-build
# with:
# arch: 7.5
- name: Build and run tests
run: |-
# python3 -m unittest discover -v -s tests -t .
conda create --name env --yes --quiet conda-build
conda run --no-capture-output --name env python3 ./packaging/build_conda.py