CI: Use free-disk-space only on linux
free disk space for window
See https://github.com/actions/runner-images/blob/main/images/win/Windows2022-Readme.md
To check what is installed on the window image
Use rmdir instead of choco to uninstall Android
Fix Window CI Issue
FIx CI by removing android uninstall and adding time becfore checking for tick
Removing cache to fix cargo pdb error
See https://stackoverflow.com/questions/4256524/lnk1318-unexpected-pdb-error-ok-0
Add time before timing out for the CI to run
Reduce the amount of jobs to reduce memory consumption and maybe fix parallel build error
Remove rust caching as it not link to CI issue
Remove android folder to add more space to window runner
Removing windows from CI/CD as it does not work
- Use buildjet for caches, which provides 20 GB of free cache space.
- Previously, we used the official GitHub cache, which is limited to 10GB. Our repo needs ~13 GB, so we experienced lots of cache evictions, which caused slow build times.
- Only write caches from `main` branch.
- Because our cache size is still limited, we don't want to clutter it with caches from PRs. The PRs can still load the cache of the `main` branch.
- Sometimes a test failes spuriously, e.g. because of a rate limit error. We still want to save the cache in this case.
- Remove the empty remote example job.
- Move the benchmark example to a different job because it compiles in release mode and thus shares almost no build artifacts with the other examples.
- Since the ROS2 setup can be quite slow, we move it to a different job as well to increase parallelism.
- The Python setup is relatively quick in comparison, so we merge the python examples into the general examples job (to limit the number of checks that we're running).