ci: Use clang-15 and IWYU v0.19 in “tidy” task #26766

pull hebasto wants to merge 4 commits into bitcoin:master from hebasto:221228-clang15 changing 25 files +60 −22
  1. hebasto commented at 9:27 pm on December 28, 2022: member

    There was a hope that the new IWYU v0.19 gets rid of the entire contrib/devtools/iwyu/bitcoin.core.imp. Alas…

    Based on #26763.

  2. iwyu: Fix IWYU violations 2c38463803
  3. iwyu, ci: Treat IWYU violations as errors 4a940a5b9e
  4. ci: Use clang-15 and IWYU v0.19 in "tidy" task aa498b78ad
  5. iwyu: Drop backported mappings
    See https://github.com/include-what-you-use/include-what-you-use/pull/1026
    53817c8b5f
  6. DrahtBot commented at 9:27 pm on December 28, 2022: contributor

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    Reviews

    See the guideline for information on the review process. A summary of reviews will appear here.

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #26859 (fuzz: extend ConsumeNetAddr() to return I2P and CJDNS addresses by vasild)
    • #26850 (ci: Stop and remove CI container by MarcoFalke)
    • #26763 (ci: Treat IWYU violations as errors by hebasto)
    • #26705 (clang-tidy: Check headers and fixes them by hebasto)
    • #25152 (refactor: Split util/system into exception, shell, and fs-specific files by Empact)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

  7. DrahtBot added the label Tests on Dec 28, 2022
  8. fanquake commented at 9:53 pm on December 28, 2022: member
    I don’t think we want to hop to non-LTS releases in the CI unless it’s really required: #26296 (comment).
  9. hebasto commented at 9:56 pm on December 28, 2022: member

    I don’t think we want to hop to non-LTS releases in the CI unless it’s really required: #26296 (comment).

    Agree. That’s why this PR is a draft for now.

  10. in .cirrus.yml:84 in 53817c8b5f
    77@@ -78,10 +78,10 @@ task:
    78     << : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
    79 
    80 task:
    81-  name: 'tidy [jammy]'
    82+  name: 'tidy [kinetic]'
    83   << : *GLOBAL_TASK_TEMPLATE
    84   container:
    85-    image: ubuntu:jammy
    86+    image: ubuntu:kinetic
    


    maflcko commented at 8:35 am on December 29, 2022:
    An alternative would be to use https://packages.debian.org/bookworm/clang-15 ?

    maflcko commented at 11:49 am on March 7, 2023:
    Another alternative would be to use https://apt.llvm.org/
  11. maflcko referenced this in commit 65de8eeeca on Dec 29, 2022
  12. DrahtBot commented at 9:57 pm on January 12, 2023: contributor

    🐙 This pull request conflicts with the target branch and needs rebase.

  13. DrahtBot added the label Needs rebase on Jan 12, 2023
  14. hebasto closed this on Feb 2, 2023

  15. maflcko added the label Up for grabs on Mar 7, 2023
  16. fanquake referenced this in commit f380bb93e8 on Mar 23, 2023
  17. fanquake removed the label Up for grabs on Apr 14, 2023
  18. fanquake removed the label Needs rebase on Apr 14, 2023
  19. fanquake commented at 10:03 am on April 14, 2023: member
    Removing up for grabs here, as we are now using clang-16 and IWYU 0.20.
  20. bitcoin locked this on Apr 13, 2024

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-19 09:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me