Skip to content
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

Update GHA linux runners to Ubuntu 20 #11627

Merged
merged 2 commits into from Mar 30, 2023

Conversation

Nir-Az
Copy link
Collaborator

@Nir-Az Nir-Az commented Mar 28, 2023

GHA deprecate Ubuntu 18 runners,
We update the CI to use Ubuntu 20 runners

See https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/

When I used the default compiler (GCC 9.5) it used lto (link time optimization) and it failed on an internal error.

So I forced it to use GCC 7 which compile.

@Nir-Az Nir-Az requested a review from OhadMeir March 28, 2023 11:06
@Nir-Az Nir-Az marked this pull request as draft March 28, 2023 19:12
@Nir-Az Nir-Az force-pushed the update_gha_ubuntu branch 5 times, most recently from 0ad4e57 to 4d8d1df Compare March 29, 2023 13:44
@Nir-Az Nir-Az marked this pull request as ready for review March 29, 2023 17:04
@Nir-Az
Copy link
Collaborator Author

Nir-Az commented Mar 29, 2023

@OhadMeir ready for review.
I will add myself a comment to add a comment for the lines that set the required GCC version

sudo apt-get install libglfw3-dev libglfw3;
sudo apt-get install gcc-7 g++-7;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO Add comment on all places we force the GCC version with the reason

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@@ -258,8 +258,8 @@ jobs:


#--------------------------------------------------------------------------------
U18_SH_RSUSB_LiveTest: # Ubuntu 2018, Shared, Legacy live-tests
runs-on: ubuntu-18.04
U20_SH_RSUSB_LiveTest: # Ubuntu 2020, Shared, Legacy live-tests
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Log file names should be updated. See example

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch - Done

Copy link
Contributor

@OhadMeir OhadMeir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Nir-Az Nir-Az merged commit d758c43 into IntelRealSense:development Mar 30, 2023
14 checks passed
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 this pull request may close these issues.

None yet

2 participants