Add Ninja to p4pi images and run image-build workflow on pull requests#95
Conversation
|
@fruffy the package is available now! I made some progress on https://github.com/chreekat/p4pi/tree/copilot/fix-ninja-build-error (you can just merge the changes into this branch, or I can push them if you want). I'm done for the night right now, but a second CI run is currently ongoing over there. |
Yes, feel free to push here. |
|
Ah, the p4pi build also depends on a third OBS project that also builds bmv2, p4c, and pi. https://build.opensuse.org/project/show/home:p4edge:p4lang-testing. It produces aarch64 Raspbian binaries. home:p4lang doesn't produce binaries for that distro yet, so the next step is to give it that capability. Hopefully it will be a simple borrowing of ideas from p4edge:p4lang-testing... |
|
Plot twist: the aarch64 raspbian binaries showed up wizard-style, "precisely when they meant to". https://download.opensuse.org/repositories/home:/p4lang/Raspbian_11/ The problem is that the p4c build failed, which p4pi still needs. Gotta look into that. |
|
@fruffy my mistake -- I can't push to this repo cause I'm not a maintainer here. You can pull in this branch to get past the expired signature issue: https://github.com/chreekat/p4pi/tree/copilot/fix-ninja-build-error I've got Raspbian builds in home:p4lang now! CI still doesn't pass, but the problems are further down the path. |
Agent-Logs-Url: https://github.com/p4lang/p4pi/sessions/8e46413e-71ac-498e-9f50-b0c233249985 Co-authored-by: fruffy <5960321+fruffy@users.noreply.github.com>
Agent-Logs-Url: https://github.com/p4lang/p4pi/sessions/69979749-d4f9-4a20-bcaa-dc1b9ff8bc30 Co-authored-by: fruffy <5960321+fruffy@users.noreply.github.com>
Agent-Logs-Url: https://github.com/p4lang/p4pi/sessions/69979749-d4f9-4a20-bcaa-dc1b9ff8bc30 Co-authored-by: fruffy <5960321+fruffy@users.noreply.github.com>
Agent-Logs-Url: https://github.com/p4lang/p4pi/sessions/10d7c894-719a-4b29-a468-a11abef00a33 Co-authored-by: fruffy <5960321+fruffy@users.noreply.github.com>
Agent-Logs-Url: https://github.com/p4lang/p4pi/sessions/10d7c894-719a-4b29-a468-a11abef00a33 Co-authored-by: fruffy <5960321+fruffy@users.noreply.github.com>
…uring stage2 Agent-Logs-Url: https://github.com/p4lang/p4pi/sessions/d88c31a0-8938-4c1b-b5fe-d927c01fb0a0 Co-authored-by: fruffy <5960321+fruffy@users.noreply.github.com>
…ssing backup Agent-Logs-Url: https://github.com/p4lang/p4pi/sessions/d88c31a0-8938-4c1b-b5fe-d927c01fb0a0 Co-authored-by: fruffy <5960321+fruffy@users.noreply.github.com>
…ompile stub scripts Agent-Logs-Url: https://github.com/p4lang/p4pi/sessions/d88c31a0-8938-4c1b-b5fe-d927c01fb0a0 Co-authored-by: fruffy <5960321+fruffy@users.noreply.github.com>
…n stage3 Agent-Logs-Url: https://github.com/p4lang/p4pi/sessions/31f63ce9-4919-4b65-8433-3898d53e7b9e Co-authored-by: fruffy <5960321+fruffy@users.noreply.github.com>
Agent-Logs-Url: https://github.com/p4lang/p4pi/sessions/31f63ce9-4919-4b65-8433-3898d53e7b9e Co-authored-by: fruffy <5960321+fruffy@users.noreply.github.com>
Agent-Logs-Url: https://github.com/p4lang/p4pi/sessions/a94208b8-5e56-48cd-9338-d820054805f0 Co-authored-by: fruffy <5960321+fruffy@users.noreply.github.com>
Agent-Logs-Url: https://github.com/p4lang/p4pi/sessions/a94208b8-5e56-48cd-9338-d820054805f0 Co-authored-by: fruffy <5960321+fruffy@users.noreply.github.com>
Agent-Logs-Url: https://github.com/p4lang/p4pi/sessions/a818eb86-db21-4047-aca8-d333163f069d Co-authored-by: fruffy <5960321+fruffy@users.noreply.github.com>
Right now I'm just getting legitimate failures, which makes CI take significantly longer for no benefit.
I use 'act' to run GitHub workflows locally. I also use submodules for all my upstream checkouts. 'act' copies the working tree to a temp dir, breaking the link to the "real" git dir. As a consequence, "git rev-parse" fails.
I've folded in the Raspbian builds into home:p4lang, fixing the issue of expired signatures.
fbb8957 to
96ce0a2
Compare
Feel free to also just squash or create an alternate PR. We can close this one. |
Release.keyendpoint/home/runner/work/p4pi/p4pi/pi-gen/stage3/01-p4pi/01-packageshome:/p4pi/Raspbian_11repository/key configuration from/home/runner/work/p4pi/p4pi/pi-gen/stage3/01-p4pi/00-run.sh/home/runner/work/p4pi/p4pi/pi-gen/stage3/01-p4pi/01-packages