larq / compute-engine

Highly optimized inference engine for Binarized Neural Networks
https://docs.larq.dev/compute-engine
Apache License 2.0
242 stars 34 forks source link

Fix build cache for windows release build #731

Closed Tombana closed 2 years ago

Tombana commented 2 years ago

What do these changes do?

The if ($GOOGLE_APPLICATION_CREDENTIALS) in the windows release script was not working. Furthermore the windows build uses the flags --discard_analysis_cache --notrack_incremental_state --nokeep_state_after_build --nouse_action_cache to speed up the build. This PR removes those 'no cache' flags and enables the GCS cache.

How Has This Been Tested?

First run: timeout after 6 hours as expected: https://github.com/larq/compute-engine/actions/runs/2207868415 Second run: finish after 1 hour: https://github.com/larq/compute-engine/actions/runs/2218470790