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 more paths to CI cache #7

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
~/target/
~/target/release/
~/target/release/build/
~/target/release/deps/
key: ${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-${{ github.job }}-
- name: System Information
Expand All @@ -74,6 +77,9 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
~/target/
~/target/release/
~/target/release/build/
~/target/release/deps/
key: ${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-${{ github.job }}-
- name: System Information
Expand All @@ -99,6 +105,9 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
~/target/
~/target/release/
~/target/release/build/
~/target/release/deps/
key: ${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-${{ github.job }}-
- name: System Information
Expand Down
9 changes: 5 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,11 @@ codegen-units = 1
panic = "abort"

[profile.ci]
# The profile with which we compile the criterion
# benchmark runner and subsequently all Wasm runtimes
# when running them in the GitHub Actions CI.
# This profile is optimized for build speed of relatively
# optimized builds for the virtual hardware used by GitHub
# hosted Actions CI runners:
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
inherits = "release"
opt-level = 3
lto = "thin"
codegen-units = 2
codegen-units = 4