Skip to content
Merged
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
5 changes: 5 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[build]
# Use sccache for faster compilation
# Install: cargo install sccache
# To enable: Set RUSTC_WRAPPER=sccache in your environment
# rustc-wrapper = "sccache" # Uncomment after installing sccache
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
env:
RUST_BACKTRACE: 1
CARGO_TERM_COLOR: always
RUSTC_WRAPPER: "sccache"

jobs:
fmt:
Expand All @@ -31,7 +32,7 @@ jobs:
strategy:
matrix:
os:
- ubuntu-latest
- ubuntu-latest-m
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

what is "-m"?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This is to enable large runners as default small runners were facing issues.

- macos-latest
rust: [stable]
steps:
Expand All @@ -43,6 +44,9 @@ jobs:
toolchain: ${{ matrix.rust }}
components: clippy

- name: Install sccache
uses: mozilla-actions/sccache-action@v0.0.6

- name: Cache cargo registry
uses: actions/cache@v4
with:
Expand Down
Loading