-
Notifications
You must be signed in to change notification settings - Fork 26
Utilize GitHub Actions for building and running via QEMU #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
jserv
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebase the latest main branch.
|
There should be only a commit, discarding unrelated ones. |
Already.
Sure. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
761c4b2 to
bdf027c
Compare
3839694 to
cc104df
Compare
jserv
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Carefully read https://cbea.ms/git-commit/ and strictly apply its rules when writing full sentences in commit messages.
jserv
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Always rebase properly.
I'll make sure to rebase properly before merging. For now, I prefer to keep the commits. |
e792176 to
7c49a01
Compare
|
Do these results match what we wanted? |
182b393 to
68cab6a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3 issues found across 6 files
Prompt for AI agents (all 3 issues)
Understand the root cause of the following 3 issues and fix them.
<file name=".ci/run-app-tests.sh">
<violation number="1" location=".ci/run-app-tests.sh:32">
A timeout (exit code 124 from `timeout`) indicates the QEMU run hung, but this branch treats it as a pass. That masks failures and lets broken apps appear healthy; only exit code 0 should be considered passing.</violation>
</file>
<file name="arch/riscv/build.mk">
<violation number="1" location="arch/riscv/build.mk:22">
The clang detection runs $(CROSS_COMPILE)gcc --version, but the LLVM toolchain only ships $(CROSS_COMPILE)clang, so CC_IS_CLANG never becomes 1 and the build selects the missing GNU binaries, breaking LLVM builds.</violation>
</file>
<file name=".ci/ci-tools.sh">
<violation number="1" location=".ci/ci-tools.sh:187">
The aggregated gnu apps section writes values like `app1=passed` without quotes, producing invalid TOML that downstream tools cannot parse.</violation>
</file>
React with 👍 or 👎 to teach cubic. Mention @cubic-dev-ai to give feedback, ask questions, or re-run the review.
cf192bf to
c89b134
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 6 files
jserv
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebase the latest main branch.
e7b8142 to
a937b7f
Compare
Implement GitHub Actions CI pipeline for testing Linmo across GNU and LLVM RISC-V toolchains with automated reporting. Features: - Matrix testing for GNU and LLVM toolchains - Automated app discovery and crash detection - Functional test framework with criterion-based validation - TOML-based result aggregation across toolchains - Automated PR comments with detailed test results - Proper failure handling and artifact collection Components: - .ci/ci-tools.sh: Unified tool for data collection, aggregation, and PR comment formatting - .ci/run-app-tests.sh: Automated app testing with QEMU - .ci/run-functional-tests.sh: Criterion-based functional tests - .ci/setup-toolchain.sh: Automated toolchain installation - .github/workflows/ci.yml: Complete CI workflow with summary job The workflow ensures all tests run to completion, captures full output for debugging, and fails CI based on the aggregated overall status.
|
Thank @G36maid for contributing! |
Implement GitHub Actions CI pipeline for testing Linmo across GNU and
LLVM RISC-V toolchains with automated reporting.
Features:
Components:
and PR comment formatting
The workflow ensures all tests run to completion, captures full output
for debugging, and fails CI based on the aggregated overall status
Fixes #2
Depend on #31