随着贡献者增多,是不是得考虑增加CI了,用于避免一些基础错误。每次修复bug时,似乎都能提交一个/多个测试用例,从而扩充项目的测试集,保持稳定 :-)
Activity
luzeng87 commentedon Mar 28, 2025
是的,今天也在和hanlu聊这个事,首先得解决环境问题。
specialpointcentral commentedon Mar 28, 2025
似乎得支持action runner,riscv的讨论在这里:
actions/runner#2157
以及riscv的已编译仓库:
https://github.com/dkurt/github_actions_riscv
wojiushixiaobai commentedon Mar 28, 2025
简单的测试用例 qemu 可以胜任
phorcys commentedon Mar 30, 2025
我尝试用 loongson-community/dotnet-unofficial-build 编译了runner
基本没有什么障碍,接入我fork的 lat仓库试了试,可以正常运行,没有什么问题。
下一步结合已有的 debian-loong64/ arch-loong64 /aosc-loongarch64 docker镜像,自动化一个 runner的docker image
然后在新旧世界各部署几个 docker容器,来跑runner就行。
specialpointcentral commentedon Mar 30, 2025
请问是在LoongArch原生机编译、运行的嘛 :-)
phorcys commentedon Mar 31, 2025
yes, debian loong64 sid.
phorcys commentedon Apr 6, 2025
我在 https://github.com/phorcys/lat/tree/ci 简单做了个利用qemu-user 自动构建的原型。
不过还没搞完, chroot环境下还没编译过去。
wojiushixiaobai commentedon Apr 6, 2025
@phorcys 也不用从零开始,
qemu直接使用docker/setup-qemu-action@v3镜像也有现成
ghcr.io/loong64/debian:trixie-slim担心安全问题可以参考,目前全部用
githubactions的qemu实现,不依赖第三方环境。简单的实现了一下,目前在
qemu环境编译不通过,同样的代码在物理环境可以顺利编译 https://github.com/loong64/latluzeng87 commentedon Apr 7, 2025
有一个版本了可以PR一下,后面持续完善
wojiushixiaobai commentedon Apr 7, 2025
是否可以考虑使用交叉编译?
测试的时候使用
qemu验证。luzeng87 commentedon Apr 8, 2025
准备搭建几台本地runner,安装debian, archlinux, loongnix, aosc.
specialpointcentral commentedon Apr 15, 2025
感觉可以先交叉编译建立起来,先完成:每次add tag的时候自动release二进制