ci: replace Cirrus with Github Actions#10651
Open
f321x wants to merge 7 commits into
Open
Conversation
Replaces the Cirrus CI tasks (flake8 mandatory, flake8 non-mandatory, ban-unicode, unittests across Python 3.10-3.14 + 3.14 debug, and unittests with frozen deps) with a single .github/workflows/tests.yml.
Migrates the 'Regtest functional tests' Cirrus CI task to GitHub Actions, running on ubuntu-24.04. Caches the bitcoind binary and libsecp256k1 build, starts bitcoind and electrumx in the background, and uploads wallet artifacts plus dumps service logs on failure.
Migrate the "locale: upload to crowdin" task from .cirrus.yml to a GitHub Actions workflow. Triggers on pushes to master (mirroring the Cirrus only_if condition) plus workflow_dispatch for manual runs.
Migrates the four Cirrus CI binary build tasks (Windows, Android, AppImage, and source/source-only tarball) to GitHub Actions. The new workflow runs only on the nightly cron (02:30 UTC) and workflow_dispatch.
Migration to GitHub Actions is complete. All CI tasks are now defined under .github/workflows/.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
secrets.COVERALLS_REPO_TOKENneeds to be set fortests.ymlsecrets.CROWDIN_API_KEYneeds to be set forlocale.ymlsecrets.CLAUDE_CODE_OAUTH_TOKENneeds to be set forsecurity-review.ymlI tested
tests.ymlandregtest.ymlon my fork (here).I disabled the non-mandatory flake8 check as it would always fail as our codebase is not adapted to the lints, there doesn't seem to be a "neutral/grey" status in github actions like we had with Cirrus, and both the red cross (which marks the whole PR red) and the green checkmark would be somewhat misleading. AFAIK no one ever really looked at these non-mandatory lints anyway?
I also dropped the unused intel based MacOS build which was commented out in the cirrus definition.
We should also monitor if the scheduled binary builds succeed during the night.