Skip to content

Commit dbb6e04

Browse files
committed
Add a buildspec with trivial work
Signed-off-by: Jonathan Swartz <jonathan@jswartz.info>
1 parent dbbc3cf commit dbb6e04

2 files changed

Lines changed: 29 additions & 7 deletions

File tree

.github/workflows/gpu.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
# ---------------------------------------------------------------------------
1212

1313
linux_gpu:
14-
name: 'Linux CentOS 7 VFX CY2020 GPU <GCC 6.3.1>'
14+
name: 'VDB GPU Tester'
1515
# Don't run on OCIO forks
1616
if: github.repository == 'AcademySoftwareFoundation/openvdb'
1717
# GH-hosted VM. The build runs in CentOS 7 'container' hard-coded in
@@ -29,9 +29,9 @@ jobs:
2929
- name: Validate AWS Credentials
3030
run: |
3131
aws sts get-caller-identity
32-
# - name: Run CodeBuild
33-
# uses: aws-actions/aws-codebuild-run-build@v1
34-
# with:
35-
# project-name: OpenColorIO
36-
# buildspec-override: buildspec.yml
37-
# image-override: aswf/ci-ocio:2025
32+
- name: Run CodeBuild
33+
uses: aws-actions/aws-codebuild-run-build@v1
34+
with:
35+
project-name: openvdb
36+
buildspec-override: buildspec.yml
37+
image-override: aswf/ci-openvdb:2025

buildspec.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: 0.2
2+
3+
env:
4+
variables:
5+
CXX: g++
6+
CC: gcc
7+
exported-variables:
8+
- CXX
9+
- CC
10+
11+
phases:
12+
pre_build:
13+
commands:
14+
# Checkout
15+
- git clone https://github.com/$GITHUB_REPOSITORY openvdb
16+
- cd openvdb
17+
- git checkout $GITHUB_SHA
18+
# Print tree
19+
- tree
20+
nvidia-smi:
21+
commands:
22+
- nvidia-smi

0 commit comments

Comments
 (0)