yeah, they are separate jobs, so each starts with a new image. my thinking was that i could do the toolchain set up in one and then i’d just need to transfer avr32-tools folder (as an artifact) to the 2nd job. i’m realizing now that the toolchain set up also likely installs other tools which is what i’m probably missing. i need to go over the avr32_toolchain makefile and check what else i need to transfer to the 2nd job.
we do have a docker container created by @Dewb: https://github.com/Dewb/monome-build which uses the same avr32_toolchain script (and adds teletype specific tools as well). or do you mean some way to take a snapshot of a container with the toolchain already installed? this would address the possible issue of bitrot.
d’oh! totally forgot we had this already. here i am, reinventing the wheel :)) i’m going to try porting it to github actions.
github actions currently offers:
| Ubuntu 20.04 |
ubuntu-20.04 |
| Ubuntu 18.04 |
ubuntu-latest or ubuntu-18.04 |
| Ubuntu 16.04 |
ubuntu-16.04 |
i’ll try it with 20.04.