Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,079
    • Issues 3,079
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1,018
    • Merge requests 1,018
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • MesaMesa
  • mesamesa
  • Merge requests
  • !10220

ci: Enable -Werror in all build jobs

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Michel Dänzer requested to merge daenzer/mesa:ci-werror into master Apr 13, 2021
  • Overview 15
  • Commits 11
  • Pipelines 9
  • Changes 161

While not all jobs are fully warning-clean yet, we can enable -Werror in general and just allow the existing types of warnings as exceptions with -Wno-error=[...]. This way, new warnings of all other types will be prevented from entering the code base.

Once all warnings of a certain type have been eliminated in a job, the exception for that type can be dropped from that job. This provides a realistic path to a fully warning-clean CI build in the future.

Pipeline with these changes: https://gitlab.freedesktop.org/daenzer/mesa/-/pipelines/300679

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: ci-werror