Commit e83fdfb
Wire RISC-V QEMU smoke test into pull.yml CI
Adds the reusable _test_riscv_qemu.yml workflow_call (mirroring
_test_cortex_m_e2e.yml) and a test-riscv-qemu job in pull.yml that calls
it on every PR. The job runs on a stock linux.2xlarge x86_64 runner
(no special hardware), apt-installs gcc-riscv64-linux-gnu and
qemu-user-static via examples/riscv/setup.sh, then invokes
.ci/scripts/test_riscv_qemu.sh which exports a small BundledProgram,
cross-compiles executor_runner for riscv64-linux, runs it under
qemu-user-static, and asserts the Test_result: PASS marker emitted by
the bundled-IO comparison path.
This is the CI half of the Phase 1.0 stepping stone toward
pytorch#18991; the toolchain, preset, AOT script, and run.sh
landed in the previous commit.
Co-authored-with: Claude (https://claude.ai/code)1 parent e6f4b9f commit e83fdfb
2 files changed
Lines changed: 39 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
607 | 607 | | |
608 | 608 | | |
609 | 609 | | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
610 | 617 | | |
611 | 618 | | |
612 | 619 | | |
| |||
0 commit comments