Skip to content

Conversation

hs-apotell
Copy link
Collaborator

Add caching support for maven & dependencies. Also, include caching for
cpp builds using actions/ccache.

Builds are more reliable (avoids the archive.apache server which
intermittently reports timeouts) and also significantly improves the
overall builds times (down from 46 mins to 28 mins).

The slowest part of the build now is the Windows+cpp builds because
there is no reliable cache implementation yet. MacOS+cpp (65% cache hit) is
also relatively slow compared to Ubuntu+cpp (99% cache hit).

Signed-off-by: HS hs@apotell.com

cpp builds using actions/ccache.

Builds are more reliable (avoids the archive.apache server which
intermittently reports timeouts) and also significantly improves the
overall builds times (down from 46 mins to 28 mins).

The slowest part of the build now is the Windows+cpp builds because
there is no reliable cache implementation yet. MacOS+cpp (65% cache hit) is
also relatively slow compared to Ubuntu+cpp (99% cache hit).

Signed-off-by: HS <hs@apotell.com>
@hs-apotell
Copy link
Collaborator Author

Please promote the workflow changes to master as well. Empty workflow is failing on master.

@parrt parrt added this to the 4.10.2 milestone Aug 14, 2022
@parrt parrt merged commit 432aff8 into antlr:dev Aug 14, 2022
@parrt
Copy link
Member

parrt commented Aug 14, 2022

pulled into master as well.

@hs-apotell hs-apotell deleted the hostedci branch August 15, 2022 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants