Skip to content

Commit

Permalink
Run docs/example builds on remote GPU
Browse files Browse the repository at this point in the history
  • Loading branch information
drasmuss committed Jun 30, 2021
1 parent 1052e88 commit 928a692
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 9 deletions.
Binary file added .ci/secret.tar.enc
Binary file not shown.
22 changes: 20 additions & 2 deletions .nengobones.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ travis_yml:
env:
TF_VERSION: tensorflow==2.1.0
python: 3.6
- script: docs
- script: examples
- script: remote-docs
- script: remote-examples
pypi_user: __token__
slack_notifications: "wZ7l/X7cVeetmwfup7vCeN74pqFGMC5eaJfy/aqRwVGCbY3aHQKoqJaBBrVef\
c+DsJwPPM9HIOGs7jkPY+Y1pFbklAhWCDCvmc+f3fL4/yPWK1u7r8IIHhM3O0YvYrEHfFfZn+V1nAomx1\
Expand All @@ -94,6 +94,24 @@ ci_scripts:
coverage: true
pip_install:
- $TF_VERSION
- template: remote-script
remote_script: docs
output_name: remote-docs
host: azure-docs
travis_var_key: 2895d60e3414
azure_name: nengo-dl-docs
azure_group: nengo-ci
remote_setup:
- conda install -y -c conda-forge cudatoolkit=11.2 cudnn=8.1
- template: remote-script
remote_script: examples
output_name: remote-examples
host: azure-examples
travis_var_key: 2895d60e3414
azure_name: nengo-dl-examples
azure_group: nengo-ci
remote_setup:
- conda install -y -c conda-forge cudatoolkit=11.2 cudnn=8.1
- template: deploy

codecov_yml: {}
Expand Down
9 changes: 2 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,10 @@ jobs:
python: 3.6
-
env:
SCRIPT="docs"
addons:
apt:
packages:
- pandoc
SCRIPT="remote-docs"
-
env:
SCRIPT="examples"
services: ['xvfb']
SCRIPT="remote-examples"
- stage: deploy
if: branch =~ ^release-candidate-* OR tag =~ ^v[0-9]*
env: SCRIPT="deploy"
Expand Down

0 comments on commit 928a692

Please sign in to comment.