mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-08-02 03:42:50 +08:00
Summary: Update `main` build to latest CircleCI image - Ubuntu 2020.04. Avoid torch.logical_or and logical_and for PyTorch 1.4 compatibility. Also speed up the test run with Pytorch 1.4.0 (which has no ninja) by not setting NVCC_FLAGS for it. Reviewed By: theschnitz Differential Revision: D27262327 fbshipit-source-id: ddc359d134b1dc755f8b20bd3f33bb080cb3a0e1
10 lines
384 B
Bash
10 lines
384 B
Bash
#!/bin/bash -e
|
|
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
|
|
|
# Run this script before committing config.yml to verify it is valid yaml.
|
|
|
|
python -c 'import yaml; yaml.safe_load(open("config.yml"))' && echo OK - valid yaml
|
|
|
|
msg="circleci not installed so can't check schema"
|
|
command -v circleci > /dev/null && (cd ..; circleci config validate) || echo "$msg"
|