p4lang / p4c

P4_16 reference compiler
https://p4.org/
Apache License 2.0
669 stars 441 forks source link

Update the dependencies list in README & what platforms do we want to support #4777

Open vlstill opened 3 months ago

vlstill commented 3 months ago

This could be done in step with #4347, but we should decide what platforms/versions we should actually support. This list is now very conservative and the testing is even more (testing that Ubuntu 18.04 works!). I'm not sure if we have any rules on how to drop support for platforms (e.g. for Ubuntu 18). Any changes should be made in sync with what we actually test.

Somewhat related is that I think we should add Ubuntu 24.04 to tests and both 22.04 and 24.04 to the list of supported targets.

fruffy commented 3 months ago

https://github.com/p4lang/p4c/issues/3986 is related.

Maybe there is a way to improve the Github action workflow to reuse components that have been build. This way we can instantiate a more complex test matrix while saving resources.

Not sure how much is too much, the breadth of testing can already be overwhelming but is required for a compiler that is used in many different environments.