This PR concludes the migration from Cirrus CI to GitHub Actions.
ci: Move remained task from Cirrus to GitHub Actions #1409
pull hebasto wants to merge 4 commits into bitcoin-core:master from hebasto:230821-gha-all changing 2 files +238 −159-
hebasto commented at 1:58 PM on August 22, 2023: member
-
in .github/workflows/ci.yml:529 in 1961f18a7f outdated
482 | + uses: ./.github/actions/run-in-docker-action 483 | + with: 484 | + dockerfile: ./ci/linux-debian.Dockerfile 485 | + tag: linux-debian-image 486 | + command: > 487 | + git config --global --add safe.directory ${{ github.workspace }} &&
real-or-random commented at 2:48 PM on August 22, 2023:Not this PR, but now that I see this, couldn't we add this to
run-in-docker-actionto avoid duplication?(did I ask this before?)
hebasto commented at 3:13 PM on August 22, 2023:(did I ask this before?)
We discussed whether it should be placed in
ci.sh.UPD. ... as it's done in bitcoin repo.
real-or-random commented at 8:49 AM on August 23, 2023:Ok, sure, I remember now. I still think this should not be in
ci.sh, but yeah, we could consider moving it torun-in-docker-action(in a separate PR probably).
real-or-random added the label ci on Aug 22, 2023in .github/workflows/ci.yml:420 in 1961f18a7f outdated
415 | + 416 | + - name: Set environment variables 417 | + run: | 418 | + for var in "$(jq -s 'add' <<< '${{ toJSON(matrix.configuration.env_vars) }} ${{ toJSON(matrix.asm.env_vars) }} ${{ toJSON(matrix.cc.env_vars) }}' | jq -r 'to_entries | .[] | "\(.key)=\(.value)"')"; do 419 | + echo "$var" >> "$GITHUB_ENV" 420 | + done
real-or-random commented at 3:05 PM on August 22, 2023:A bit ugly, hm... There's no better way to merge this, I guess.
I think it makes sense to split this job into two jobs "Valgrind (memcheck)" and "UBSan, ASan, LSan". Then for each of these jobs, we can expand the remaining 2x2 combinations, i.e., list the 4 resulting combinations explicitly. This is probably a good idea anyway, it will also make it a bit easier to add variety to the jobs.
What do you think?
hebasto commented at 3:11 PM on August 22, 2023:I think it makes sense to split this job into two jobs "Valgrind (memcheck)" and "UBSan, ASan, LSan".
I was thinking about the same. But it won't help.
Only one
envproperty is allowed job-wide and step-wide. Job-wideenvis already busy with global variables. Therefore, even 2 sets won't fit one step-wideenv.
hebasto commented at 3:15 PM on August 22, 2023:list the 4 resulting combinations explicitly
... but that is completely feasible.
hebasto commented at 7:01 PM on August 22, 2023:list the 4 resulting combinations explicitly
... but that is completely feasible.
Done.
hebasto force-pushed on Aug 22, 2023ci: Move sanitizers task from Cirrus to GitHub Actions c22ac27529ci: Move "MSan" from Cirrus to GitHub Actions d51fb0a533ci: Move "C++ -fpermissive..." from Cirrus to GitHub Actions 61fc3a2dc8ci: Move "C++ (public headers)" from Cirrus to GitHub Actions 676ed8f9cfin .github/workflows/ci.yml:787 in 1b51315e60 outdated
782 | + with: 783 | + dockerfile: ./ci/linux-debian.Dockerfile 784 | + tag: linux-debian-image 785 | + command: > 786 | + g++ -Werror include/*.h && 787 | + clang -Werror -x c++-header include/*.h
real-or-random commented at 9:01 AM on August 23, 2023:nit: it's probably more convenient to run
clangeven ifg++failsg++ -Werror include/*.h clang -Werror -x c++-header include/*.h(I think that linebreak should work. Or do we need a
;here?)
hebasto commented at 10:00 AM on August 23, 2023:Thanks! Reworked.
hebasto force-pushed on Aug 23, 2023real-or-random approvedreal-or-random commented at 12:53 PM on August 23, 2023: contributorACK 676ed8f9cf001ebaadf53d5c11e32f7a6b1e5649
real-or-random merged this on Aug 23, 2023real-or-random closed this on Aug 23, 2023hebasto deleted the branch on Aug 23, 2023real-or-random referenced this in commit ea26b71c3a on Aug 24, 2023sipa referenced this in commit c0da4f60e2 on Sep 4, 2023Retropex referenced this in commit 5f62ed90f6 on Oct 4, 2023real-or-random referenced this in commit d575ef9aca on Oct 12, 2023janus referenced this in commit 1097330147 on Apr 1, 2024hebasto referenced this in commit b6de625950 on May 11, 2024delta1 referenced this in commit 6089844b3c on Apr 2, 2025div72 referenced this in commit af627d47c3 on Apr 12, 2025str4d referenced this in commit b9e749419a on Jun 4, 2025Fabcien referenced this in commit 494d1e3970 on Feb 5, 2026Fabcien referenced this in commit 53f368bff5 on Feb 5, 2026Fabcien referenced this in commit 37fd942dd6 on Feb 5, 2026Fabcien referenced this in commit 48ba449989 on Feb 5, 2026Fabcien referenced this in commit f4c3fb1147 on Feb 5, 2026Fabcien referenced this in commit 181de403d2 on Feb 5, 2026
This is a metadata mirror of the GitHub repository bitcoin-core/secp256k1. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-19 06:52 UTC