Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
CI_Source CI_Source
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Metrics
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • Support
  • CI_SourceCI_Source
  • Merge requests
  • !19

Open
Created Jan 28, 2022 by Ben Avison@bavisonDeveloper
  • Report abuse
Report abuse

Check debug targets of submodules

  • Overview 0
  • Commits 1
  • Pipelines 8
  • Changes 1

This adds another job to the softload stage, which ensures that the debug target builds successfully.

Since some makefiles don't define such a target, we filter based on the results of make -n debug first, to ensure that the only failures reported are those generated by tools invoked by make.

Some worked examples:

Pipeline for a project with no softload stage at all (because it's type EXP in ModuleDB): https://gitlab.riscosopen.org/bavison/SyncLib/-/pipelines/4155

Pipeline for a project with a softload stage but where the makefile doesn't define a debug target (counts as success): https://gitlab.riscosopen.org/bavison/ConfigLib/-/pipelines/4167

Pipeline for a project with a debug target which builds successfully: https://gitlab.riscosopen.org/bavison/SDIODriver/-/pipelines/4169

Pipeline for a project with a debug target which fails (in this case because a dependency hasn't been merged yet): https://gitlab.riscosopen.org/bavison/SDIODriver/-/pipelines/4165

Edited Jan 28, 2022 by Ben Avison
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: debug-builds