ssalonen / cec-rs

GNU General Public License v2.0
10 stars 9 forks source link

Make CI faster #43

Open ssalonen opened 1 year ago

ssalonen commented 1 year ago

Bug description

CI is super-slow, probably due to

See https://www.uffizzi.com/blog/optimizing-rust-builds-for-faster-github-actions-pipelines

and

https://github.com/Mozilla-Actions/sccache-action https://xuanwo.io/en-us/reports/2023-04/ (using sccache-action with rust) https://news.ycombinator.com/item?id=23191505 (using sccache with cmake generated builds)

To Reproduce

Expected behavior

Screenshots

Environment

Additional context

ssalonen commented 1 year ago

With https://github.com/ssalonen/libcec-sys/pull/44 in place now, libcec vendored build can be much faster. However, the crucial optimizations happen in libcec-sys github CI pipeline, not in libcec-sys build.rs.

Should we move the libcec-sys optimization as a libcec-sys crate feature? This way they could benefit downstream CI workflows such as cec-rs.