ci: implement asynchronous riscv64 testing via Snap Store edge channel#33
Merged
Conversation
…comments and ext:updatesnap blocks that were accidentally overwritten in a previous commit
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.
Overview
This PR resolves the issue of GitHub Actions' 6-hour runner timeouts when attempting to synchronously build and test the
riscv64architecture.As discussed with @tillkamppeter, since Launchpad automatically builds all architectures (including
riscv64) in the background after a commit is pushed, we are decoupling the RISC-V compilation from the synchronous PR checks.Key Changes
riscv64from the mainbuild.ymlmatrix. PRs will now only gate on the faster architectures (amd64,arm64, andarmhf), allowing for rapid merging without waiting up to 4 hours for Launchpad's RISC-V queue.test-riscv-edge.yml): Created a new daily cron workflow that tests the RISC-V build asynchronously.api.snapcraft.io) for the latestriscv64CUPS snap in theedgechannel..snapfile.squashfs-toolsand runs our Ghostscript smoke test locally usingqemu-riscv64-static.Testing Performed
test-riscv-edge.ymlon my fork. It successfully queried the API, downloaded version2.4.16-2, unpacked it, and passed the emulated Ghostscript smoke test.