Skip to content

ci: Add a native riscv64 build on GitHub Actions - #1689

Open
chfast wants to merge 2 commits into
masterfrom
ci/riscv-github-actions
Open

ci: Add a native riscv64 build on GitHub Actions#1689
chfast wants to merge 2 commits into
masterfrom
ci/riscv-github-actions

Conversation

@chfast

@chfast chfast commented Aug 31, 2026

Copy link
Copy Markdown
Member

Build and test on real RISC-V hardware: Scaleway EM-RV1, 4 T-Head C910
cores at 1.85 GHz and 16 GB of RAM, one job per node. The runners are
operated by the RISE project for open source, and the app is installed
on the org already.

The steps are the CircleCI job's, minus the JUnit report nothing reads
here.

The riscv32 job stays on CircleCI. These runners are 64-bit only and
offer no emulation, and rv32 cannot follow: every riscv-gnu-toolchain
release is hosted on x86_64, so there is no rv32 cross-compiler which
runs on riscv64.

@chfast
chfast force-pushed the ci/riscv-github-actions branch from 71f0498 to c100e1b Compare August 31, 2026 21:03
@chfast chfast changed the title ci: Run the RISC-V builds on GitHub Actions ci: Add a native riscv64 build on GitHub Actions Aug 31, 2026
@codspeed-hq

codspeed-hq Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 129 untouched benchmarks


Comparing ci/riscv-github-actions (5b64efa) with master (001414d)

Open in CodSpeed

@codecov

codecov Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.94%. Comparing base (001414d) to head (5b64efa).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1689   +/-   ##
=======================================
  Coverage   97.94%   97.94%           
=======================================
  Files         181      181           
  Lines       16216    16216           
  Branches     3729     3729           
=======================================
  Hits        15883    15883           
  Misses        252      252           
  Partials       81       81           
Flag Coverage Δ
eest-develop 87.09% <ø> (ø)
eest-develop-gmp 26.16% <ø> (ø)
eest-legacy 16.96% <ø> (ø)
eest-libsecp256k1 28.36% <ø> (ø)
eest-stable 87.06% <ø> (ø)
evmone-unittests 94.21% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
core 96.19% <ø> (ø)
tooling 93.76% <ø> (ø)
tests 99.81% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@chfast
chfast force-pushed the ci/riscv-github-actions branch 2 times, most recently from 763373a to ca1d4e4 Compare August 31, 2026 22:12
GCC drops -Wno-attributes=msvc:: when it loads a precompiled header
until version 14, so a GCC 13 build fails on the msvc::forceinline in
baseline.hpp as soon as warnings are errors. Use the blanket
-Wno-attributes there, as GCC 11 already does.
Run the build and the tests on real RISC-V hardware, on the runners the
RISE project operates for open source. The riscv32 build stays on
CircleCI: those runners are 64-bit only and no rv32 cross-compiler
hosted on riscv64 exists.

Build with Ninja and let it take the job count from the CPUs it can
see, which the Environment step reports.
@chfast
chfast force-pushed the ci/riscv-github-actions branch from ca1d4e4 to 5b64efa Compare August 31, 2026 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant