uraimo / run-on-arch-action

A Github Action that executes jobs/commands on non-x86 cpu architectures (ARMv6, ARMv7, aarch64, s390x, ppc64le, riscv64) via QEMU
BSD 3-Clause "New" or "Revised" License
679 stars 150 forks source link

Continue in another job? #40

Closed radimkohout closed 3 years ago

radimkohout commented 3 years ago

I am using your action in my workflow to compile the Linux kernel. This takes longer than 6h limit of job in GitHub Actions. Is it somehow possible to use same Docker container on next job, and continue with compilation?

uraimo commented 3 years ago

Check out #34, other than adding all you can in the setup phase and caching the result of previous attempts (partial or full) can't think of any obvious way to try to reach the end of a long build. The docker container is only available in the context of the current job.

radimkohout commented 3 years ago

You can download linux kernel, add this config to it, and try it yourself 😀 https://gist.github.com/radimkohout/e59440d3a06a763d26e1ca43ce9dd258

uraimo commented 3 years ago

Don't worry, I have no trouble believing that 6h are not enough to build the kernel in an emulated environment :)