Skip to content

Add riscv64 nightly LKL build to GitHub Action#53

Merged
jserv merged 1 commit intosysprog21:mainfrom
rota1001:ci-update
Apr 9, 2026
Merged

Add riscv64 nightly LKL build to GitHub Action#53
jserv merged 1 commit intosysprog21:mainfrom
rota1001:ci-update

Conversation

@rota1001
Copy link
Copy Markdown
Collaborator

@rota1001 rota1001 commented Apr 8, 2026

Previously, the GitHub Actions only build LKL of x86_64 and aarch64 architectures. This adds the riscv64 support by using the RISE GitHub App to do the compilation.

This GitHub Action is tested[1] on my repo, and it runs successfully.

Also, it is found that the GitHub Action has not been run for a long time because the script will compare the hash of commit between the upstream LKL and the last release. Because of this, the release format has been wrong from Commit f08907f but not being found. This also fixs it.

Also because of this, before the new GitHub Action is run, the old release must be removed because the upstream LKL commit doesn't change.

[1] https://github.com/rota1001/kbox/actions/runs/24160395840


Summary by cubic

Add riscv64 to the nightly LKL GitHub Action and fix tarball packaging so releases are consistent and include all three architectures.

  • New Features

    • Build riscv64 nightly via the RISE GitHub App on ubuntu-24.04-riscv; publish liblkl-riscv64.tar.gz.
    • Correct tar packaging (-C ... .) and update release notes to list x86_64, aarch64, and riscv64.
    • Increase build timeout to 360 minutes and add riscv64 detection in scripts/common.sh.
  • Migration

    • Delete the existing lkl-nightly release before running the workflow if the upstream LKL commit hasn’t changed, or the commit comparison may prevent a new run.

Written for commit 0000e3e. Summary will update on new commits.

Previously, the GitHub Actions only build LKL of x86_64 and
aarch64 architectures. This adds the riscv64 support by using
the RISE GitHub App to do the compilation.

This is needed by the riscv64 support of kbox in the future.

Change-Id: I7f710891f8259c8ec848891453e1f6410e932a82
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai bot left a 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 2 files

@jserv jserv merged commit fc1d7d8 into sysprog21:main Apr 9, 2026
6 checks passed
@jserv
Copy link
Copy Markdown
Contributor

jserv commented Apr 9, 2026

Thank @rota1001 for contributing!

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.

2 participants