Skip to content

Update Actions runner image #80

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wnienhaus opened this issue Aug 19, 2022 · 1 comment · Fixed by #84
Closed

Update Actions runner image #80

wnienhaus opened this issue Aug 19, 2022 · 1 comment · Fixed by #84

Comments

@wnienhaus
Copy link
Collaborator

wnienhaus commented Aug 19, 2022

Github has deprecated the ubuntu-18.04 image for running Github Actions with (see actions/runner-images#6002).

We will need to ensure our build works with newer Ubuntu versions.

(Last time I tried, the binutils-esp32 build process did not work on ubuntu versions later than 18.04, so this might be more effort than just changing the image name 😞).

@wnienhaus
Copy link
Collaborator Author

Found this approach (i.e. using gcc 7) to building on ubuntu-20.04 and it works.

It does not work on ubuntu-22.04 because it doesn't have gcc-7 anymore, but building on 20.04 should hopefully last for quite some time before Github will deprecate that one.

wnienhaus added a commit to wnienhaus/micropython-esp32-ulp that referenced this issue Aug 20, 2022
GitHub has deprecated the ubuntu-18.04 builder image. So before
that builder image is entirely removed, this commit updates the
build process to use the ubuntu-20.04 image instead.

This commit also installs an older verion of GCC (v7) because
binutils-esp32ulp does not build successfully on Ubuntu 20.04
with the default GCC version (v9). (This solution was found
here: espressif/binutils-esp32ulp#19 (comment))

Fixes: micropython#80
wnienhaus added a commit to wnienhaus/micropython-esp32-ulp that referenced this issue Aug 20, 2022
GitHub has deprecated the ubuntu-18.04 builder image. So before
that builder image is entirely removed, this commit updates the
build process to use the ubuntu-20.04 image instead.

This commit also installs an older verion of GCC (v7) because
binutils-esp32ulp does not build successfully on Ubuntu 20.04
with the default GCC version (v9). (This solution was found
here: espressif/binutils-esp32ulp#19 (comment))

Fixes: micropython#80
wnienhaus added a commit to wnienhaus/micropython-esp32-ulp that referenced this issue Sep 1, 2022
GitHub has deprecated the ubuntu-18.04 builder image. So before
that builder image is entirely removed, this commit updates the
build process to use the ubuntu-20.04 image instead.

This commit also installs an older verion of GCC (v7) because
binutils-esp32ulp does not build successfully on Ubuntu 20.04
with the default GCC version (v9). (This solution was found
here: espressif/binutils-esp32ulp#19 (comment))

Fixes: micropython#80
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 a pull request may close this issue.

1 participant