Skip to content

Commit

Permalink
GA: fix 503 error by not archiving OIIO-build binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
pablode committed Apr 19, 2024
1 parent 17ae699 commit 9ee3d42
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-usd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
extra-cmake-flags:
required: false
type: string
upload-archive:
required: false
type: boolean
default: true

outputs:
archive-name:
Expand Down Expand Up @@ -49,6 +53,7 @@ jobs:
build-config: ${{ inputs.build-config }}
usd-download-url: ${{ matrix.usd-download-url }}
usd-install-path: ${{ matrix.usd-install-path }}
upload-archive: ${{ inputs.upload-archive }}
archive-name: build-${{ inputs.build-config }}-${{ github.sha }}
archive-file-name: ${{ matrix.archive-file-name }}
extra-cmake-flags: ${{ inputs.extra-cmake-flags }}
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ on:
usd-install-path:
required: true
type: string
upload-archive:
required: true
type: boolean
archive-name:
required: true
type: string
Expand Down Expand Up @@ -66,10 +69,12 @@ jobs:
cmake --install . --config ${{ inputs.build-config }} --component usdGlTF --prefix "$PWD/../INSTALL/plugin/usd"
- name: Create archive
if: ${{ inputs.upload-archive }}
working-directory: INSTALL
run: tar -zcvf ${{ inputs.archive-file-name }} *

- name: Upload archive
if: ${{ inputs.upload-archive }}
uses: actions/upload-artifact@v3
with:
name: ${{ inputs.archive-name }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
usd-version: ${{ inputs.usd-version }}
build-config: Debug
extra-cmake-flags: -DCMAKE_COMPILE_WARNING_AS_ERROR=ON
upload-archive: false

build-release:
name: Build guc for USD v${{ inputs.usd-version }} (Release)
Expand Down

0 comments on commit 9ee3d42

Please sign in to comment.