Skip to content

Commit 612afc8

Browse files
committed
Add GPU workflow
Signed-off-by: Jonathan Swartz <jonathan@jswartz.info>
1 parent d980ad9 commit 612afc8

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/gpu.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: GPU
2+
3+
on:
4+
workflow_dispatch: {}
5+
jobs:
6+
# ---------------------------------------------------------------------------
7+
# Linux GPU (AWS CodeBuild)
8+
# ---------------------------------------------------------------------------
9+
10+
linux_gpu:
11+
name: 'Linux CentOS 7 VFX CY2020 GPU <GCC 6.3.1>'
12+
# Don't run on OCIO forks
13+
if: github.repository == 'AcademySoftwareFoundation/openvdb'
14+
# GH-hosted VM. The build runs in CentOS 7 'container' hard-coded in
15+
# AWS CodeBuild project.
16+
# TODO: Add support for dynamic GH Action defined CodeBuild
17+
# container choice.
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Configure AWS Credentials
21+
uses: aws-actions/configure-aws-credentials@v2
22+
with:
23+
aws-access-key-id: ${{ secrets.CODEBUILD_ID }}
24+
aws-secret-access-key: ${{ secrets.CODEBUILD_SECRET }}
25+
aws-region: us-west-2
26+
- name: Validate AWS Credentials
27+
run: |
28+
aws sts get-caller-identity
29+
# - name: Run CodeBuild
30+
# uses: aws-actions/aws-codebuild-run-build@v1
31+
# with:
32+
# project-name: OpenColorIO
33+
# buildspec-override: buildspec.yml
34+
# image-override: aswf/ci-ocio:2025

0 commit comments

Comments
 (0)