Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sccache #53

Merged
merged 19 commits into from
Apr 28, 2021
Merged

Add sccache #53

merged 19 commits into from
Apr 28, 2021

Conversation

clearloop
Copy link
Contributor

Changes

  • Remove verbose prefetch-cache job
  • Cache binaries:
    • cargo-audit
    • sccache
  • Share cache to security job directly

@clearloop clearloop merged commit 2e667a5 into ChainSafe:cl/circle-ci Apr 28, 2021
clearloop added a commit that referenced this pull request Apr 28, 2021
* ci(circleci): init the config of circleci

* fix(vectors): remove test-vectors

* ci(daily-check): remove daily check

* ci(jobs): clean jobs

* ci(rust_setup): install rust toolchain without prompt

* ci(format): optimize format step

* ci(compile): verbose output

* ci(timeout): set no_output_timeout

* ci(circleci): remove verbose output in circle ci

* ci(docker): setup docker jobs

* ci(docker): remove docker ci in github actions

* ci(docker): add executor to docker jobs

* ci(docker): fix typo in job names

* ci(docker): setup docker executor

* ci(docker): fix docker-build target directory

* ci(docker): persist docker image

* ci(docker): stringify dockerb build arguments

* ci(docker): fix the fucking format of the circleci config

* ci(docker): checkout before building image

* ci(docker): set no_output_timeout

* ci(machine): use ubuntu-2004

* ci(docker): use xlarge resource for docker builder

* ci(docker): remove docker executor

* ci(executor): fix the indent of machine config

* ci(executor): move environment out of machine config

* ci(docker): add docker syntax

* ci(docker): enable docker buildkit

* ci(cache): use sccache cache

* ci(cache): unset rustc wrapper for installing sccache

* ci(cache): fetch sccache before fetching packages

* ci(cache): cache sccache binary

* ci(docker): make login dockerhub as a command

* ci(docker): fix type of command login_dockerhub

* ci(cache): cache sccache and cargo-audit binaries ( under 20MB )

* ci(cache): fix the cache of cargo binaries

* ci(cache): squash the cahce of cargo-audit and sccache binaries

* ci(cache): fix the typo of the condition of cargo-audit

* ci(cache): fix the cache condition of sccache

* ci(cache): modify sccache-cache storage key to trigger CI

* ci(cache): fix cache paths

* Add sccache to CircleCI (#53)

* ci(cache): download sccahce binary directly

* ci(cach): sudo privilege to moving sccache binary

* ci(cache): use x86_64 sccache for the testing machine

* ci(cache): correct the url of sccache resource

* ci(sccache): clean the indent

* ci(security): requires reust_setup only

* ci(cache): use optional feature to run rust_setup conditionally

* ci(rust_setup): fix installing sccache

* ci(rust_setup): clean rust_setup

* ci(workflow): requires prefetch-cache

* ci(format): add rust_setup to format job

* ci(cache): add sccache to rust_setup

* ci(curl): fix the test script about downloading from links

* ci(condition): use if-else

* ci(prefetch): remove prefetch-crates

* ci(security): force installing rust-toolchain in job security

* ci(cache): use cache for security checking

* ci(security): remove os deps in security check

* ci(chore): uppercase job names

* ci(machine): use xlarge resource

* ci(trigger): trigger build and test cache

* ci(cache): embed restore_cache into rust_setup

* ci(chore): trigger building
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.

1 participant