Skip to content

chore: optimize windows ci by using sccache - #466

Merged
wgtmac merged 1 commit into
apache:mainfrom
wgtmac:optimize_win_build
Dec 31, 2025
Merged

wgtmac merged 1 commit into
apache:mainfrom
wgtmac:optimize_win_build

Conversation

@wgtmac

@wgtmac wgtmac commented Dec 31, 2025

Copy link
Copy Markdown
Member

No description provided.

@wgtmac
wgtmac force-pushed the optimize_win_build branch 3 times, most recently from 2940c85 to 646a26c Compare December 31, 2025 07:05
@wgtmac
wgtmac force-pushed the optimize_win_build branch from 646a26c to a848aaa Compare December 31, 2025 07:09
@wgtmac

wgtmac commented Dec 31, 2025

Copy link
Copy Markdown
Member Author

Now the windows ci can finish in 7m 59s: https://github.com/apache/iceberg-cpp/actions/runs/20614139302/job/59205516975. This can be proven by sccache stats below:

Compile requests                     591
Compile requests executed            591
Cache hits                           591
Cache hits (C/C++)                   591
Cache misses                           0
Cache hits rate                   100.00 %
Cache hits rate (C/C++)           100.00 %
Cache timeouts                         0
Cache read errors                      0
Forced recaches                        0
Cache write errors                     0
Cache errors                           0
Compilations                           0
Compilation failures                   0
Non-cacheable compilations             0
Non-cacheable calls                    0
Non-compilation calls                  0
Unsupported compiler calls             0
Average cache write                0.000 s
Average compiler                   0.000 s
Average cache read hit             0.092 s
Failed distributed compilations        0
Cache location                  ghac, name: c53e4962b46713a17b429097c76c3a9dfe6c94ba4556b3b544ce89beb6872fc9, prefix: /sccache/
Version (client)                0.12.0

@wgtmac wgtmac changed the title chore: optimize windows ci chore: optimize windows ci by using sccache Dec 31, 2025

@Fokko Fokko left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice one @wgtmac

@wgtmac

wgtmac commented Dec 31, 2025

Copy link
Copy Markdown
Member Author

Thanks everyone for the review!

@wgtmac
wgtmac merged commit 7e784dc into apache:main Dec 31, 2025
16 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.

4 participants