ci: Support running from a worktree #30028

issue maflcko openend this issue on May 3, 2024
  1. maflcko commented at 8:59 am on May 3, 2024: member

    Currently, when running the CI from a worktree, it will fail with:

    0++ git config --global ci.base-install-done
    1fatal: not a git repository: .git/worktrees/test2
    

    git config --global is used here, because it allows to write a flag to storage on macOS and Linux. If someone knows of a different way to persist a flag on macOS and Linux, it should be used instead.

  2. maflcko added the label Tests on May 3, 2024
  3. maflcko commented at 2:31 pm on May 3, 2024: member
    I guess macos can just be skipped, as it will never run the base-install twice, so doesn’t need caching.


maflcko

Labels
Tests


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-06-29 07:13 UTC

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