Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI : Update to GafferHQ/dependencies 9.0.0a1 #6016

Merged
merged 8 commits into from
Aug 28, 2024

Conversation

murraystevenson
Copy link
Contributor

This updates main to use the new 9.0.0a1 dependencies package.

Given CentOS 7's end of life and GitHub's intended removal of support for Actions that can run on CentOS 7 in October, this takes the opportunity to remove use of our CentoOS 7 GCC9 build container and only publish GCC11 builds from main, which allows us to remove the node16 workaround and update to the supported node20 versions of Actions necessary for CI.

Windows builds remain using cortex-10.5.9.1 for the time being, as we don't yet have a gafferDependencies-9.0.0a1-windows release. There are a few Cycles 4.2 specific changes that will need to be made once we have that Windows dependencies release.

@murraystevenson murraystevenson self-assigned this Aug 28, 2024
@@ -80,6 +82,7 @@ def __assertShaderLoads( self, name, expectedParameters, expectedOutputs ) :

def testLoadUsdPreviewSurface( self ) :

legacyUsdVersion = pxr.Usd.GetVersion()[1] <= 23
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Normally I'd say that you need to compare both major and minor versions to be safe here, to account for minor resetting when major bumps. But I have no idea what major even is in USD, since minor is the year.

Comment on lines 105 to 106
( "surface", Gaffer.Plug if legacyUsdVersion else Gaffer.StringPlug, None if legacyUsdVersion else "" ),
( "displacement", Gaffer.Plug if legacyUsdVersion else Gaffer.StringPlug, None if legacyUsdVersion else "" ),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to spend a bit of time today to see if there might be some way of keeping the original behaviour. I'll hold off merging pending the results of that.

We'll no longer be able to use our CentOS 7 GCC9 build container once GitHub drops support for node16 actions in October.
Disabling compression can cut the artifact upload time from minutes to seconds.
Temporary override until we have a gafferDependencies-9.0.0a1-windows release package.
Added as a platform-specific library while we figure out the Windows dependencies 9.0.0a1 builds.
@murraystevenson
Copy link
Contributor Author

Merging with the USDShaderTest commit dropped now that #6017 is in place. Thanks!

@murraystevenson murraystevenson merged commit 149c7e6 into GafferHQ:main Aug 28, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants