Skip to content

Commit 5f27840

Browse files
authored
Merge pull request #1410 from pytorch/issue_1409
update buildspec.yml for regression test
2 parents 04bd922 + 9bfabb7 commit 5f27840

File tree

3 files changed

+23
-4
lines changed

3 files changed

+23
-4
lines changed

test/buildspec.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ phases:
77
commands:
88
- apt-get update
99
- apt-get install sudo -y
10-
- python ts_scripts/install_dependencies.py --cuda=cu101 --environment=dev
10+
- python ts_scripts/install_dependencies.py --environment=dev
1111

1212
build:
1313
commands:
@@ -16,4 +16,4 @@ phases:
1616
artifacts:
1717
files:
1818
- /tmp/test_exec.log
19-
name: TS-NIGHTLY-REGRESSION-$(date +%Y-%m-%d)
19+
name: TS-NIGHTLY-REGRESSION-$(date +%Y-%m-%d)

test/buildspec_gpu.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Build Spec for AWS CodeBuild CI
2+
3+
version: 0.2
4+
5+
phases:
6+
install:
7+
commands:
8+
- apt-get update
9+
- apt-get install sudo -y
10+
- python ts_scripts/install_dependencies.py --cuda=cu102 --environment=dev
11+
12+
build:
13+
commands:
14+
- /bin/bash -c "set -eo pipefail; python test/regression_tests.py 2>&1 | tee /tmp/test_exec.log"
15+
16+
artifacts:
17+
files:
18+
- /tmp/test_exec.log
19+
name: TS-NIGHTLY-REGRESSION-$(date +%Y-%m-%d)

test/buildspec_windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ version: 0.2
55
phases:
66
install:
77
commands:
8-
- python ts_scripts\install_dependencies.py --cuda=cu101 --environment=dev
8+
- python ts_scripts\install_dependencies.py --cuda=cu102 --environment=dev
99

1010
build:
1111
commands:
@@ -14,4 +14,4 @@ phases:
1414
artifacts:
1515
files:
1616
- test_exec.log
17-
name: TS-NIGHTLY-REGRESSION-$(Get-Date -Format "yyyy-MM-dd")
17+
name: TS-NIGHTLY-REGRESSION-$(Get-Date -Format "yyyy-MM-dd")

0 commit comments

Comments
 (0)