Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
CI: Fix cargo cache (#7968)
Browse files Browse the repository at this point in the history
* Fix cache

Blocking waiting for file lock on the registry index

* Only clean locked cargo cache on windows
  • Loading branch information
General-Beck authored and 5chdn committed Mar 5, 2018
1 parent 3d6ede0 commit 217cdf5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/gitlab-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ set_env_win () {
echo "@ signtool sign /f "\%"1 /p "\%"2 /tr http://timestamp.comodoca.com /du https://parity.io "\%"3" > sign.cmd
}
build () {
if [[ "windows" = $IDENT ]]
then
# This is a nasty hack till we figure out the proper cargo caching strategy
echo "Remove index"
rm -rf cargo/registry/index/*.
fi
echo "Build parity:"
cargo build --target $PLATFORM --features final --release
echo "Build evmbin:"
Expand Down

0 comments on commit 217cdf5

Please sign in to comment.