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

Use a project-specific var for whether we're running in CI #1446

Merged
merged 1 commit into from
Dec 3, 2021

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Dec 2, 2021

Maybe somebody else is building this as a subproject or has a variable
called "CI"?

  • For our CI runs, set an env variable "OSL_CI" (not just generic "CI").

  • Default STOP_ON_WARNING to be off for supported releases, only on by
    default for main branch where we're actively developing. Because you
    want downstream users who are building supported releases to not get
    tripped up when their compiler upgrades and there's a new warning.

  • Make sure STOP_ON_WARNING is true for our CI runs, even for release
    branches -- but now check OSL_CI, not CI, in case somebody else has
    set that.

Fixes #1428

Signed-off-by: Larry Gritz [email protected]

Maybe somebody else is building this as a subproject or has a varible
called "CI"?

* For our CI runs, set an env variable "OSL_CI" (not just generic "CI").

* Default STOP_ON_WARNING to be off for supported releases, only on by
  default for main branch where we're actively developing. Because you
  want downstream users who are building supported releases to not get
  tripped up when their compiler upgrades and there's a new warning.

* Make sure STOP_ON_WARNING is true for our CI runs, even for release
  branches -- but now check OSL_CI, not CI, in case somebody else has
  set that.

Fixes 1428

Signed-off-by: Larry Gritz <[email protected]>
@lgritz lgritz merged commit 15e0273 into AcademySoftwareFoundation:main Dec 3, 2021
@lgritz lgritz deleted the lg-civar branch December 3, 2021 21:52
lgritz added a commit to lgritz/OpenShadingLanguage that referenced this pull request Dec 3, 2021
…ftwareFoundation#1446)

Maybe somebody else is building this as a subproject or has a variable
called "CI"?

* For our CI runs, set an env variable "OSL_CI" (not just generic "CI").

* Default STOP_ON_WARNING to be off for supported releases, only on by
  default for main branch where we're actively developing. Because you
  want downstream users who are building supported releases to not get
  tripped up when their compiler upgrades and there's a new warning.

* Make sure STOP_ON_WARNING is true for our CI runs, even for release
  branches -- but now check OSL_CI, not CI, in case somebody else has
  set that.

Fixes AcademySoftwareFoundation#1428

Signed-off-by: Larry Gritz <[email protected]>
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.

Packaging Failed with STOP_ON_WARNING=OFF
2 participants